Skip to content

Commit

Permalink
Remove obsolete note from raytrace-parallel example (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfwatson committed Sep 14, 2020
1 parent a04e189 commit 09c5b82
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions examples/raytrace-parallel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -ex

# A few steps are necessary to get this build working which makes it slightly
# A couple of steps are necessary to get this build working which makes it slightly
# nonstandard compared to most other builds.
#
# * First, the Rust standard library needs to be recompiled with atomics
Expand All @@ -11,11 +11,6 @@ set -ex
# * Next we need to compile everything with the `atomics` and `bulk-memory`
# features enabled, ensuring that LLVM will generate atomic instructions,
# shared memory, passive segments, etc.
#
# * Finally, `-Zbuild-std` is still in development, and one of its downsides
# right now is rust-lang/wg-cargo-std-aware#47 where using `rust-lld` doesn't
# work by default, which the wasm target uses. To work around that we find it
# and put it in PATH

RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' \
cargo build --target wasm32-unknown-unknown --release -Z build-std=std,panic_abort
Expand Down

0 comments on commit 09c5b82

Please sign in to comment.