-
Notifications
You must be signed in to change notification settings - Fork 479
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug Report
I was working on clarifying PUBLISH.md. When running yarn build:all I get:
Finished `release` profile [optimized] target(s) in 3m 05s
Downloading wasm-bindgen version 0.2.105
Compiling aleo-wasm v0.9.13 (sdk/wasm)
Unknown option '--enable-bulk-memory-opt'347/348: aleo-wasm
[plugin rust] wasm-opt failed: Command `wasm-opt index_bg.wasm --output wasm_opt.wasm -O --enable-threads --enable-bulk-memory --enable-bulk-memory-opt --enable-nontrapping-float-to-int` failed with error code: 1
warning: unstable feature specified for `-Ctarget-feature`: `atomics`
|
= note: this feature is not stably supported; its behavior can change in the future
warning: `aleo-wasm` (lib) generated 1 warning
Finished `release` profile [optimized] target(s) in 2m 06s
Unknown option '--enable-bulk-memory-opt'
[plugin rust] wasm-opt failed: Command `wasm-opt index_bg.wasm --output wasm_opt.wasm -O --enable-threads --enable-bulk-memory --enable-bulk-memory-opt --enable-nontrapping-float-to-int` failed with error code: 1
Building wasm: 5:14.270 (m:ss.mmm)
$ cd sdk && yarn build
$ rimraf dist && rollup -c rollup.config.js
[!] SyntaxError: Unexpected token 'with'
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:468:14)
at link (node:internal/modules/esm/module_job:68:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
macOS 15.7.2 (24G325)yarn --version 1.22.22npm --version 9.5.1- nightly-2025-08-28-aarch64-apple-darwin (overridden by 'sdk/rust-toolchain.toml')
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working