Skip to content

Commit fb81ff9

Browse files
committed
Fixing wasm-opt
1 parent 93c8555 commit fb81ff9

4 files changed

Lines changed: 1586 additions & 1534 deletions

File tree

.yarnrc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
nodeLinker: "node-modules"
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
5+
nodeLinker: node-modules

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2025-08-28"
2+
channel = "nightly-2026-01-13"
33
components = [ "rust-std", "rust-src", "rustfmt", "clippy" ]
44
targets = [ "wasm32-unknown-unknown" ]

wasm/build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ async function buildWasm(network) {
3030
"--no-default-features",
3131
"--features", `browser,${network}`,
3232
],
33-
/*rustc: [
33+
rustc: [
3434
"-C", "link-arg=--max-memory=4294967296",
35-
],*/
36-
wasmOpt: ["-O", "--enable-threads", "--enable-bulk-memory", "--enable-bulk-memory-opt", "--enable-nontrapping-float-to-int"],
35+
],
36+
wasmOpt: ["-O", "--enable-threads", "--enable-bulk-memory", "--enable-nontrapping-float-to-int"],
3737
},
3838

3939
experimental: {

0 commit comments

Comments
 (0)