Update build of raytrace example to latest nightly

Closes #1935
This commit is contained in:
Alex Crichton 2020-01-06 08:29:49 -08:00
parent 624ff42eae
commit 91aaf884d6
2 changed files with 3 additions and 4 deletions

View File

@ -201,7 +201,7 @@ jobs:
steps:
- template: ci/azure-install-rust.yml
parameters:
toolchain: nightly-2019-10-04
toolchain: nightly-2020-01-06
# Temporarily disable sccache because it is failing on CI.
# - template: ci/azure-install-sccache.yml
- script: rustup component add rust-src

View File

@ -17,9 +17,8 @@ set -ex
# work by default, which the wasm target uses. To work around that we find it
# and put it in PATH
PATH=$PATH:$(dirname $(find $(rustc --print sysroot) -name 'rust-lld')) \
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' \
cargo build --target wasm32-unknown-unknown --release -Z build-std
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' \
cargo build -v --target wasm32-unknown-unknown --release -Z build-std=std,panic_abort
# Note the usage of `--no-modules` here which is used to create an output which
# is usable from Web Workers. We notably can't use `--target bundler` since