Open
Description
Are you planning to support or already supporting compiling to WASM? Where would I find instructional documentation? I think there already is some support for compiling Kotlin to WASM, so that could be an starting point for the WASM side. WASM requires Javascript support, to really do stuff in the browser. So this might be a compile target suited specifically for WebStorm-integration. Also: support for Yew would be great.
META TODO
Feature support list:
- WebAssembly projects creation in
New project
dialog-
cargo-generate
templates - Native Cargo templates RFC - cargo templates rust-lang/rfcs#2922
-
-
wasm-pack
run configurations- Commands completion
- Build tool window for
build
andtest
commands
-
wasm-pack
commands inRun Anything
-
wasm-bindgen
tests Custom test runner run context configuration #3007 - Rust <-> JS interop
- Rust->JS navigation
- JS->Rust navigation
- Cross-language refactorings support
- npm integration
- Set up a web page using
npm init wasm-app
andnpm install
- Provide run configuration
npm run start
- Set up a web page using
- Debugging of WebAssembly projects
- Plain Rust+Wasm web projects
- Rust+Wasm web projects with wasm-bindgen (blocked by Support DWARF in wasm-bindgen rustwasm/wasm-bindgen#2389)
- Debugging when running in standalone runtime (e.g.
wasmtime
)
- Auto refresh/rebuild on changes (
watch
andserve
subcommands) Addwatch
andserve
subcommands towasm-pack
rustwasm/rfcs#10 - Documentation
-
cargo-generate
-
wasm-pack
-