fix(worker): add workaround to fix build on rust 1.87

This commit is contained in:
Fabian-Lars
2025-06-25 22:19:47 +02:00
committed by GitHub
parent 349bbfc5c7
commit 6a4ea10274

View File

@@ -21,3 +21,7 @@ anyhow = "1"
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(wasm_bindgen_unstable_test_coverage)',
] }
# https://github.com/rustwasm/wasm-pack/issues/1501
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["--enable-bulk-memory", "--enable-nontrapping-float-to-int"]