Sandboxed and Deterministic Proc Macro using Wasm
- Mentors
- David Lattimore
- Organization
- The Rust Foundation
- Technologies
- rust, wasm
- Topics
- compiler
Add experimental support to rustc for building and running procedural macros as WebAssembly. Procedural Macro crates can opt in for being compiled to WebAssembly. This wasm-proc-macro will be a wasm blob sandboxed using WASM. It will interact with the compiler only through a stream of token and no ability to interact with the outside world.