Skip to content

feat!: configurable Rust panic strategy; new default abort - #1363

Draft
mooori wants to merge 11 commits into
mooori/duplicate-wasm-fn-name-2from
mooori/panic-strategy-abort
Draft

feat!: configurable Rust panic strategy; new default abort#1363
mooori wants to merge 11 commits into
mooori/duplicate-wasm-fn-name-2from
mooori/panic-strategy-abort

Conversation

@mooori

@mooori mooori commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Miden examples benchmark

Candidate 307d097bc47a compared with next 332636cd2394. Lower is better.

example VM cycles (vs next) MAST size (vs next)
auth-component-no-auth n/a 6,300B (~0%)
auth-component-rpo-falcon512 n/a 12,654B (~0%)
basic-wallet n/a 7,982B (~0%)
basic-wallet-tx-script n/a 14,727B (❌ +8.64%)
collatz 5,263 (~0%) 2,401B (~0%)
counter-contract n/a 13,227B (❌ +0.98%)
counter-note n/a 3,197B (~0%)
fibonacci 869 (~0%) 3,219B (~0%)
is-prime 2,332,731 (~0%) 6,082B (❌ +3.72%)
p2id-note n/a 20,264B (❌ +19.03%)
p2id-tx-script n/a 13,397B (❌ +16.95%)
p2ide-note n/a 16,171B (❌ +23.41%)
storage-example n/a 17,335B (❌ +13.94%)

SVG flamegraphs and compiled packages are attached to the workflow run.

mooori added 5 commits August 31, 2026 12:29
Previously `immediate-abort` was the hardwired strategy. Now the default
is abort. It's possible to configure `immediate-abort`, but that must be
done explicitly now, so this is a breaking change.
@mooori
mooori force-pushed the mooori/panic-strategy-abort branch from a229c2e to 573c924 Compare August 31, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant