bjorn3 opened Issue #2566:
<!-- Please try to describe precisely what you would like to do in
Cranelift/Wasmtime and/or expect from it. You can answer the questions below if
they're relevant and delete this text before submitting. Thanks for opening an
issue! -->Feature
Add a Cranelift backend that compiles to Webassembly.
Benefit
This would allow a compiler to run in the browser and compile code to run in the browser.
Implementation
No plan yet
Alternatives
Not adding a Webassembly backend.
bjorn3 commented on Issue #2566:
One of the possible usecases would be to compile rustc to webassembly and then let it produce webassembly modules using cg_clif.
bnjbvr labeled Issue #2566:
<!-- Please try to describe precisely what you would like to do in
Cranelift/Wasmtime and/or expect from it. You can answer the questions below if
they're relevant and delete this text before submitting. Thanks for opening an
issue! -->Feature
Add a Cranelift backend that compiles to Webassembly.
Benefit
This would allow a compiler to run in the browser and compile code to run in the browser.
Implementation
No plan yet
Alternatives
Not adding a Webassembly backend.
abbec commented on Issue #2566:
This would be awesome, another use case might be implementing custom compiler frontends for custom languages that could then compile to wasm!
Last updated: Nov 22 2024 at 17:03 UTC