Skip to content

Commit

Permalink
Fix binsize CI (#3904)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian authored Aug 21, 2023
1 parent b48ae76 commit ddb1a7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion experimental/zerotrie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ postcard = { version = "1.0", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false }
zerovec = { path = "../../utils/zerovec", features = ["serde", "hashmap"] }
litemap = { path = "../../utils/litemap" }
criterion = "0.4"
icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
serde_json = "1.0"
bincode = "1.0"
rand = "0.8"
rand_pcg = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.4"

[lib]
bench = false # This option is required for Benchmark CI
path = "src/lib.rs"
Expand Down
3 changes: 2 additions & 1 deletion tools/make/wasm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ script_runner = "@duckscript"
script = '''
exit_on_error true
# Re-run the build command only to generate the JSON output (--message-format=json)
set_env RUSTFLAGS "-C panic=abort -C opt-level=s"
exec --fail-on-error cargo +${ICU4X_NIGHTLY_TOOLCHAIN} wasm-build-release --examples --workspace --features serde --exclude icu_datagen --exclude icu_capi
# Re-run the build command only to generate the JSON output (--message-format=json)
output = exec --fail-on-error cargo +${ICU4X_NIGHTLY_TOOLCHAIN} wasm-build-release --message-format=json --examples --workspace --features serde --exclude icu_datagen --exclude icu_capi
# Parse the JSON messages from --message-format=json line by line
Expand Down

0 comments on commit ddb1a7b

Please sign in to comment.