- Create config.toml:
[build]
submodules = false
target = ["x86_64-unknown-linux-gnu", "wasm32-unknown-emscripten"]
[rust]
debug-assertions = true
[llvm]
assertions = true
targets = "X86"
experimental-targets = "WebAssembly"
- Checkout the
wasm3 branch both in rust and in src/llvm submodule. (I haven't committed LLVM changes into rust repo for ease of development, so you'll have to do this manually).
-
git status, then run git submodule update <sumbodule> for all submodules other than src/llvm.
-
x.py build --stage=1, as usual.