forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Build instructions for wasm branch.
Vadim Chugunov edited this page Jun 28, 2017
·
1 revision
- 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 inrust
and insrc/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 rungit submodule update <sumbodule>
for all submodules other thansrc/llvm
. -
x.py build --stage=1
, as usual.