Fix raytrace example by using an older nightly

Unfortunately xargo is currently broken against master Rust, so let's
pin to an older nightly while that's sorted out
This commit is contained in:
Alex Crichton
2019-04-25 19:25:32 -07:00
parent 7decb133f0
commit 03299a73b4
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ set -ex
# * Next we need to compile everything with the `atomics` feature enabled,
# ensuring that LLVM will generate atomic instructions and such.
RUSTFLAGS='-C target-feature=+atomics' \
rustup run nightly xargo build --target wasm32-unknown-unknown --release
xargo build --target wasm32-unknown-unknown --release
# Threading support is disabled by default in wasm-bindgen, so use an env var
# here to turn it on for our bindings generation. Also note that webpack isn't