Skip to content

Commit f604952

Browse files
committed
try nightly-2021-04-20
1 parent cae199f commit f604952

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

ffi/capi/examples/fixeddecimal_tiny/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ $(ALL_HEADERS):
1717
cargo build
1818

1919
../../../../target/x86_64-unknown-linux-gnu/debug/libicu_capi.a: $(ALL_RUST)
20-
RUSTFLAGS="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-flto -Cpanic=abort" cargo +nightly-2021-05-20 panic-abort-build --target x86_64-unknown-linux-gnu --no-default-features --features x86tiny
20+
RUSTFLAGS="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-flto -Cpanic=abort" cargo +nightly-2021-04-20 panic-abort-build --target x86_64-unknown-linux-gnu --no-default-features --features x86tiny
2121

2222
../../../../target/x86_64-unknown-linux-gnu/release/libicu_capi.a: $(ALL_RUST)
23-
RUSTFLAGS="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-flto -Cpanic=abort" cargo +nightly-2021-05-20 panic-abort-build --target x86_64-unknown-linux-gnu --no-default-features --features x86tiny --features smaller_static --release
23+
RUSTFLAGS="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-flto -Cpanic=abort" cargo +nightly-2021-04-20 panic-abort-build --target x86_64-unknown-linux-gnu --no-default-features --features x86tiny --features smaller_static --release
2424

2525
# Naive target: no optimizations, full std
2626
optim0.elf: ../../../../target/debug/libicu_capi.a $(ALL_HEADERS) test.c

ffi/capi/examples/fixeddecimal_tiny/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://github.com/rust-lang/rust/issues/60059
99
You also need to install the correct toolchains:
1010

1111
```bash
12-
$ rustup install nightly-2021-05-20
13-
$ rustup component add --toolchain nightly-2021-05-20 rust-src
14-
$ rustup target add x86_64-unknown-linux-gnu --toolchain nightly-2021-05-20
12+
$ rustup install nightly-2021-04-20
13+
$ rustup component add --toolchain nightly-2021-04-20 rust-src
14+
$ rustup target add x86_64-unknown-linux-gnu --toolchain nightly-2021-04-20
1515
```

ffi/cpp/examples/fixeddecimal_wasm/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ a.out: ../../../../target/debug/libicu_capi.a $(ALL_HEADERS) test.cpp
1919
g++ -std=c++17 test.cpp ../../../../target/debug/libicu_capi.a -ldl -lpthread -lm -g
2020

2121
../../../../target/wasm32-unknown-emscripten/release/libicu_capi.a: $(ALL_RUST)
22-
RUSTFLAGS="-Cpanic=abort" cargo +nightly-2021-05-20 build --release -p icu_capi --target wasm32-unknown-emscripten -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort
22+
RUSTFLAGS="-Cpanic=abort" cargo +nightly-2021-04-20 build --release -p icu_capi --target wasm32-unknown-emscripten -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort
2323

2424
web-version.html: ../../../../target/wasm32-unknown-emscripten/release/libicu_capi.a $(ALL_HEADERS) test.cpp
2525
emcc -std=c++17 test.cpp ../../../../target/wasm32-unknown-emscripten/release/libicu_capi.a -ldl -lpthread -lm -g -o web-version.html --bind --emrun -sENVIRONMENT=web -sWASM=1 -sEXPORT_ES6=1 -sMODULARIZE=1

tools/scripts/ffi.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ exec --fail-on-error diplomat-tool cpp ../cpp/include --docs ../cpp/docs/source
128128
[tasks.build-wearos-ffi]
129129
description = "Build ICU4X CAPI for Cortex"
130130
category = "ICU4X FFI"
131-
toolchain = "nightly-2021-05-20"
131+
toolchain = "nightly-2021-04-20"
132132
env = { "RUSTFLAGS" = "-Ctarget-cpu=cortex-m33" }
133133
command = "cargo"
134134
args = ["build", "--package", "icu_capi",
@@ -140,7 +140,7 @@ args = ["build", "--package", "icu_capi",
140140
[tasks.test-nostd]
141141
description = "Ensure ICU4X core builds on no-std"
142142
category = "ICU4X FFI"
143-
toolchain = "nightly-2021-05-20"
143+
toolchain = "nightly-2021-04-20"
144144
command = "cargo"
145145
args = ["build", "--package", "icu", "--target", "thumbv7m-none-eabi"]
146146

tools/scripts/valgrind.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
description = "Pre-build artifacts for use with the Valgrind task"
99
category = "ICU4X Valgrind"
1010
command = "cargo"
11-
toolchain = "nightly-2021-05-20"
11+
toolchain = "nightly-2021-04-20"
1212
# Add features here and below if a desired example is not being built
1313
args = [
1414
"build", "--examples",
@@ -34,7 +34,7 @@ mkdir benchmarks
3434
mkdir benchmarks/valgrind
3535
3636
# Re-run the build command only to generate the JSON output (--message-format=json)
37-
output = exec cargo +nightly-2021-05-20 build --examples --message-format=json --features icu_benchmark_macros/rust_global_allocator --features zerovec/serde --profile bench -Z unstable-options
37+
output = exec cargo +nightly-2021-04-20 build --examples --message-format=json --features icu_benchmark_macros/rust_global_allocator --features zerovec/serde --profile bench -Z unstable-options
3838
if ${output.code}
3939
trigger_error "Build failed! To debug, build examples with `--features icu_benchmark_macros/rust_global_allocator`"
4040
end

tools/scripts/wasm.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
description = "Build WASM FFI into the target directory (dev mode)"
99
category = "ICU4X WASM"
1010
install_crate = { rustup_component_name = "rust-src" }
11-
toolchain = "nightly-2021-05-20"
11+
toolchain = "nightly-2021-04-20"
1212
command = "cargo"
1313
args = ["wasm-build-dev", "--package", "icu_capi", "--example", "icu_capi_cdylib"]
1414

1515
[tasks.wasm-build-release]
1616
description = "Build WASM FFI into the target directory (release mode)"
1717
category = "ICU4X WASM"
1818
install_crate = { rustup_component_name = "rust-src" }
19-
toolchain = "nightly-2021-05-20"
19+
toolchain = "nightly-2021-04-20"
2020
# We don't care about panics in release mode because most incorrect inputs are handled by result types.
2121
env = { "RUSTFLAGS" = "-C panic=abort -C opt-level=s" }
2222
command = "cargo"
@@ -26,7 +26,7 @@ args = ["wasm-build-release", "--package", "icu_capi", "--example", "icu_capi_cd
2626
description = "Build WASM examples into the target directory"
2727
category = "ICU4X WASM"
2828
install_crate = { rustup_component_name = "rust-src" }
29-
toolchain = "nightly-2021-05-20"
29+
toolchain = "nightly-2021-04-20"
3030
# We don't care about panics in release mode because most incorrect inputs are handled by result types.
3131
env = { "RUSTFLAGS" = "-C panic=abort -C opt-level=s" }
3232
command = "cargo"
@@ -77,7 +77,7 @@ exit_on_error true
7777
7878
# Re-run the build command only to generate the JSON output (--message-format=json)
7979
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
8181
if ${output.code}
8282
echo ${output.stderr}
8383
trigger_error "Build failed! See output above."

0 commit comments

Comments
 (0)