mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
* use `prek` for unified linting * Fix actionlint error * Generate metadata when specific files change * `check_redundant_patches.py` to accept glob path * Test * revert defective changes * use `rustfmt` over `cargo fmt` for individual files * debug reviewdog * rustfmt * Move comment to correct location * defevtive fmt test * Fail with reviewdog * fix reviewdog perms * Try to use present token * without checks oerms * put normal perms * fmt
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