GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — RustPython/example_projects/wasm32_without_js at main · RustPython/RustPython

Expand file tree

/

wasm32_without_js

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

wasm32_without_js

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
rustpython-without-js
rustpython-without-js
 
 
wasm-runtime
wasm-runtime
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

README.md

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
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.