Rustc on wasm32?

Given rustc/llvm's memory usage and wasm32's memory limit, is the expected timeline for rustc on wasm32 (say you want an in browser IDE that can compile rust code) currently set at 'never' ? (If not, are there any efforts to make this happen, perhaps via cranelift ?)

This is already possible using a couple of small patches: https://github.com/rust-lang/miri/issues/722#issuecomment-819831196 It takes quite a while to compile from wasm to native code though.

3 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.