Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including cloud-rustc with all npm packages installed. Try it out:

var cloudRustc = require("cloud-rustc")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cloud-rustc v1.0.4

从 crate 入口 rust 文件开始,分析 module 之间的层级关系,连接关联的多个 rust 文件成为一个 rust 文件。再把被连接在一起的单个 rust 文件发送给 https://play.rust-lang.org/execute 进行编译。最后,显示后端返回的内容。

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free