Skip to content

wasm32-unknown-unknown: Make exnref eh the default#151707

Draft
hoodmane wants to merge 1 commit intorust-lang:mainfrom
hoodmane:wasm32-uknown-unknown-exnref-default
Draft

wasm32-unknown-unknown: Make exnref eh the default#151707
hoodmane wants to merge 1 commit intorust-lang:mainfrom
hoodmane:wasm32-uknown-unknown-exnref-default

Conversation

@hoodmane
Copy link
Copy Markdown
Contributor

@hoodmane hoodmane commented Jan 26, 2026

So far it seems that adding -Cllvm-args=-wasm-use-legacy-eh=true does not override this. We certainly shouldn't merge it until we have a way to toggle it back.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 26, 2026
@rust-log-analyzer

This comment has been minimized.

@hoodmane hoodmane force-pushed the wasm32-uknown-unknown-exnref-default branch from 9f1206b to c997379 Compare January 28, 2026 01:19
@guybedford
Copy link
Copy Markdown

I believe the suggestion for this is to make it the default for all targets, not just wasm32-unknown-unknown, ensuring that the remaining stability questions have been worked through comprehensively.

For emscripten specifically, we could consider a different default if that is desired initially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants