3 ms·
Okay, then how do I run that? How do I interface with the JS/DOM world? (Those are rhetorical questions. I just mean to show that there is, in fact, more to lea
by majewsky 8y ago
Okay, then how do I run that? How do I interface with the JS/DOM world? (Those are rhetorical questions. I just mean to show that there is, in fact, more to learn.)
- v_lisivka 8y agoTry (after installing of rust and cargo via rustup): # Install support for "wasm" command for cargo: cargo install cargo-wasm # Install wasm target and wasm-gc tool: cargo wasm setup # Create new wasm project: cargo wasm new hello_world and then in hello_world directory: # Build and run wasm project: cargo wasm run