FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

RustPython-test/example_projects/wasm32_without_js at main · RustPython/RustPython-test · GitHub

Repository navigation

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

RustPython wasm32 build without JS

To test, build rustpython to wasm32-unknown-unknown target first.

cd rustpython-without-js  # due to `.cargo/config.toml`
cargo build
cd ..

Then there will be rustpython-without-js/target/wasm32-unknown-unknown/debug/rustpython_without_js.wasm file.

Now we can run the wasm file with wasm runtime:

cargo run --release --manifest-path wasm-runtime/Cargo.toml rustpython-without-js/target/wasm32-unknown-unknown/debug/rustpython_without_js.wasm

Back | FazBrowse Home | New Git URL