mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 06:02:13 +00:00
parent
624ff42eae
commit
91aaf884d6
@ -201,7 +201,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- template: ci/azure-install-rust.yml
|
- template: ci/azure-install-rust.yml
|
||||||
parameters:
|
parameters:
|
||||||
toolchain: nightly-2019-10-04
|
toolchain: nightly-2020-01-06
|
||||||
# Temporarily disable sccache because it is failing on CI.
|
# Temporarily disable sccache because it is failing on CI.
|
||||||
# - template: ci/azure-install-sccache.yml
|
# - template: ci/azure-install-sccache.yml
|
||||||
- script: rustup component add rust-src
|
- script: rustup component add rust-src
|
||||||
|
@ -17,9 +17,8 @@ set -ex
|
|||||||
# work by default, which the wasm target uses. To work around that we find it
|
# work by default, which the wasm target uses. To work around that we find it
|
||||||
# and put it in PATH
|
# and put it in PATH
|
||||||
|
|
||||||
PATH=$PATH:$(dirname $(find $(rustc --print sysroot) -name 'rust-lld')) \
|
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' \
|
||||||
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' \
|
cargo build -v --target wasm32-unknown-unknown --release -Z build-std=std,panic_abort
|
||||||
cargo build --target wasm32-unknown-unknown --release -Z build-std
|
|
||||||
|
|
||||||
# Note the usage of `--no-modules` here which is used to create an output which
|
# 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
|
# is usable from Web Workers. We notably can't use `--target bundler` since
|
||||||
|
Loading…
x
Reference in New Issue
Block a user