From 3473c6823c719c09b9729608cc1d5f401cc1317b Mon Sep 17 00:00:00 2001 From: Ignacio Amigo Date: Mon, 29 Sep 2025 17:38:46 -0300 Subject: [PATCH 1/3] chore: compilation flag --- crates/web-client/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/web-client/rollup.config.js b/crates/web-client/rollup.config.js index 51a1de690f..520cf95f3d 100644 --- a/crates/web-client/rollup.config.js +++ b/crates/web-client/rollup.config.js @@ -17,7 +17,7 @@ const baseCargoArgs = [ "--features", "testing", "--config", - `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296"]`, + `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296", "-Z", "unstable-options", "-C", "panic=immediate-abort"]`, "--no-default-features", ]; From cfae747721b5c711a7334c2947063d32a2874f40 Mon Sep 17 00:00:00 2001 From: igamigo Date: Mon, 29 Sep 2025 18:40:06 -0300 Subject: [PATCH 2/3] chore: bump package.json --- crates/web-client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/web-client/package.json b/crates/web-client/package.json index 8b0e1633f3..2c85871079 100644 --- a/crates/web-client/package.json +++ b/crates/web-client/package.json @@ -1,6 +1,6 @@ { "name": "@demox-labs/miden-sdk", - "version": "0.12.0-next.15", + "version": "0.12.0-next.16", "description": "Miden Wasm SDK", "collaborators": [ "Miden", From 6d71142c7a60f7d8d442d681458ea02bdbbbf668 Mon Sep 17 00:00:00 2001 From: Ignacio Amigo Date: Tue, 30 Sep 2025 14:13:09 -0300 Subject: [PATCH 3/3] refactor: remove need for nightly instead --- .github/workflows/publish-web-client-next.yml | 16 ++++++++-------- crates/web-client/rollup.config.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-web-client-next.yml b/.github/workflows/publish-web-client-next.yml index 179cdfa6a9..289f1beac2 100644 --- a/.github/workflows/publish-web-client-next.yml +++ b/.github/workflows/publish-web-client-next.yml @@ -27,14 +27,14 @@ jobs: node-version: '20' registry-url: 'https://registry.npmjs.org/' - - name: Set up Rust and wasm target - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - profile: minimal - override: true - target: wasm32-unknown-unknown - components: rust-src + - name: Set up Rust and wasm target + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + target: wasm32-unknown-unknown + components: rust-src - name: Install & build web-client run: | diff --git a/crates/web-client/rollup.config.js b/crates/web-client/rollup.config.js index 520cf95f3d..b00e75d535 100644 --- a/crates/web-client/rollup.config.js +++ b/crates/web-client/rollup.config.js @@ -17,7 +17,7 @@ const baseCargoArgs = [ "--features", "testing", "--config", - `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296", "-Z", "unstable-options", "-C", "panic=immediate-abort"]`, + `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296", "-C", "panic=abort"]`, "--no-default-features", ];