From f185660ac4e6059702d7acbf48ccd6db41cf1ade Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 30 Jan 2026 01:46:58 +0300 Subject: [PATCH] fix(build): Disable bulk-memory feature to satisfy wasm-opt --- .cargo/config.toml | 2 ++ frontend/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..d999aa5 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.wasm32-unknown-unknown] +rustflags = ["-C", "target-feature=-bulk-memory"] diff --git a/frontend/index.html b/frontend/index.html index 6826d07..9ffd99c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -14,7 +14,7 @@ - +