8
8
description = " Build WASM FFI into the target directory (dev mode)"
9
9
category = " ICU4X WASM"
10
10
install_crate = { rustup_component_name = " rust-src" }
11
- toolchain = " nightly-2021-05 -20"
11
+ toolchain = " nightly-2021-04 -20"
12
12
command = " cargo"
13
13
args = [" wasm-build-dev" , " --package" , " icu_capi" , " --example" , " icu_capi_cdylib" ]
14
14
15
15
[tasks .wasm-build-release ]
16
16
description = " Build WASM FFI into the target directory (release mode)"
17
17
category = " ICU4X WASM"
18
18
install_crate = { rustup_component_name = " rust-src" }
19
- toolchain = " nightly-2021-05 -20"
19
+ toolchain = " nightly-2021-04 -20"
20
20
# We don't care about panics in release mode because most incorrect inputs are handled by result types.
21
21
env = { "RUSTFLAGS" = " -C panic=abort -C opt-level=s" }
22
22
command = " cargo"
@@ -26,7 +26,7 @@ args = ["wasm-build-release", "--package", "icu_capi", "--example", "icu_capi_cd
26
26
description = " Build WASM examples into the target directory"
27
27
category = " ICU4X WASM"
28
28
install_crate = { rustup_component_name = " rust-src" }
29
- toolchain = " nightly-2021-05 -20"
29
+ toolchain = " nightly-2021-04 -20"
30
30
# We don't care about panics in release mode because most incorrect inputs are handled by result types.
31
31
env = { "RUSTFLAGS" = " -C panic=abort -C opt-level=s" }
32
32
command = " cargo"
@@ -77,7 +77,7 @@ exit_on_error true
77
77
78
78
# Re-run the build command only to generate the JSON output (--message-format=json)
79
79
set_env RUSTFLAGS "-C panic=abort -C opt-level=s"
80
- output = exec cargo +nightly-2021-05 -20 wasm-build-release --message-format=json --examples --workspace --features zerovec/serde --exclude icu_datagen
80
+ output = exec cargo +nightly-2021-04 -20 wasm-build-release --message-format=json --examples --workspace --features zerovec/serde --exclude icu_datagen
81
81
if ${output.code}
82
82
echo ${output.stderr}
83
83
trigger_error "Build failed! See output above."
0 commit comments