watt
Runtime for executing procedural macros as WebAssembly
File Explorer
Download Latest Version (.zip)- ci.yml
- FUNDING.yml
- main.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- README.md
- engine.rs
- ffi.rs
- func.rs
- functype.rs
- instance.rs
- lib.rs
- memory.rs
- module.rs
- store.rs
- trap.rs
- val.rs
- valtype.rs
- README.md
- decode.rs
- encode.rs
- extra.rs
- ffi.rs
- lib.rs
- rc.rs
- marker.rs
- Cargo.toml
- ast.rs
- binary.rs
- func.rs
- interpreter.rs
- lib.rs
- ops.rs
- runtime.rs
- types.rs
- valid.rs
- values.rs
- mod.rs
- parser.rs
- run.rs
- address.bin.wast
- align.bin.wast
- binary.bin.wast
- block.bin.wast
- br.bin.wast
- br_if.bin.wast
- br_table.bin.wast
- break-drop.bin.wast
- call.bin.wast
- call_indirect.bin.wast
- comments.bin.wast
- const.bin.wast
- conversions.bin.wast
- custom.bin.wast
- custom_section.bin.wast
- data.bin.wast
- elem.bin.wast
- endianness.bin.wast
- exports.bin.wast
- f32.bin.wast
- f32_bitwise.bin.wast
- f32_cmp.bin.wast
- f64.bin.wast
- f64_bitwise.bin.wast
- f64_cmp.bin.wast
- fac.bin.wast
- float_exprs.bin.wast
- float_literals.bin.wast
- float_memory.bin.wast
- float_misc.bin.wast
- forward.bin.wast
- func.bin.wast
- func_ptrs.bin.wast
- get_local.bin.wast
- globals.bin.wast
- i32.bin.wast
- i64.bin.wast
- if.bin.wast
- imports.bin.wast
- inline-module.bin.wast
- int_exprs.bin.wast
- int_literals.bin.wast
- labels.bin.wast
- left-to-right.bin.wast
- linking.bin.wast
- loop.bin.wast
- memory.bin.wast
- memory_redundancy.bin.wast
- memory_trap.bin.wast
- names.bin.wast
- nop.bin.wast
- resizing.bin.wast
- return.bin.wast
- select.bin.wast
- set_local.bin.wast
- skip-stack-guard-page.bin.wast
- stack.bin.wast
- start.bin.wast
- store_retval.bin.wast
- switch.bin.wast
- tee_local.bin.wast
- token.bin.wast
- traps.bin.wast
- type.bin.wast
- typecheck.bin.wast
- unreachable.bin.wast
- unreached-invalid.bin.wast
- unwind.bin.wast
- utf8-custom-section-id.bin.wast
- utf8-import-field.bin.wast
- utf8-import-module.bin.wast
- utf8-invalid-encoding.bin.wast
- build.rs
- Cargo.toml
- README.md
- run_suite.rs
- LICENSE-ISC
- data.rs
- decode.rs
- encode.rs
- import.rs
- interpret.rs
- jit.rs
- lib.rs
- sym.rs
- .gitattributes
- .gitignore
- build.rs
- Cargo.toml
- LICENSE-APACHE
- LICENSE-MIT
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/dtolnay/watt
Downloads the entire project code from GitHub to your computer.
cd watt
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
$ cargo build --release --target wasm32-unknown-unknown
Compiles the Rust project.
If cargo build finishes without errors, it worked. The executable is created under target/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
