File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
examples/raytrace-parallel Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
- # A few steps are necessary to get this build working which makes it slightly
5
+ # A couple of steps are necessary to get this build working which makes it slightly
6
6
# nonstandard compared to most other builds.
7
7
#
8
8
# * First, the Rust standard library needs to be recompiled with atomics
@@ -11,11 +11,6 @@ set -ex
11
11
# * Next we need to compile everything with the `atomics` and `bulk-memory`
12
12
# features enabled, ensuring that LLVM will generate atomic instructions,
13
13
# shared memory, passive segments, etc.
14
- #
15
- # * Finally, `-Zbuild-std` is still in development, and one of its downsides
16
- # right now is rust-lang/wg-cargo-std-aware#47 where using `rust-lld` doesn't
17
- # work by default, which the wasm target uses. To work around that we find it
18
- # and put it in PATH
19
14
20
15
RUSTFLAGS=' -C target-feature=+atomics,+bulk-memory' \
21
16
cargo build --target wasm32-unknown-unknown --release -Z build-std=std,panic_abort
You can’t perform that action at this time.
0 commit comments