-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Emscripten: Turn wasm-eh on by default #147224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment has been minimized.
This comment has been minimized.
|
I think this is blocked on a team decision? |
|
Indeed, waiting-on-MCP is the correct description. I turned it to a draft too, but I think it can merge as is once the MCP is approved. |
|
Well I guess test_unstable_options_tracking_hash will need to be updated too. |
This comment has been minimized.
This comment has been minimized.
d94db1c to
ce366ac
Compare
This comment has been minimized.
This comment has been minimized.
434c3ca to
e8f5d21
Compare
|
Some changes occurred in src/doc/rustc/src/platform-support cc @Noratrieb |
e8f5d21 to
c238a3f
Compare
This comment has been minimized.
This comment has been minimized.
|
r? @bjorn3 as the one who approved the MCP |
|
Okay Emscripten 4.0.21 was released yesterday so I think this is ready to move forward. |
|
CI fails. |
|
The test //@ compile-flags: --check-cfg=cfg(emscripten_wasm_eh)
#[cfg(not(emscripten_wasm_eh))]
//~^ ERROR `cfg(emscripten_wasm_eh)` is experimental
fn main() {}I guess I need to negate the |
c238a3f to
9532301
Compare
This comment has been minimized.
This comment has been minimized.
9532301 to
dd65f8b
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
dd65f8b to
59d0e3f
Compare
This comment has been minimized.
This comment has been minimized.
As specified by MCP: rust-lang/compiler-team#920 Resolves rust-lang#148309
59d0e3f to
f07a84f
Compare
|
Okay CI looks green now |
|
@bors r+ |
Rollup of 9 pull requests Successful merges: - #147224 (Emscripten: Turn wasm-eh on by default) - #149405 (Recover on misspelled item keyword) - #149443 (Tidying up UI tests [6/N]) - #149524 (Move attribute safety checking to attribute parsing) - #149593 (powf, powi: point out SNaN non-determinism) - #149605 (Use branch name instead of HEAD when unshallowing) - #149612 (Apply the `bors` environment also to the `outcome` job) - #149623 (Don't require a normal tool build of clippy/rustfmt when running their test steps) - #149627 (Point to the item that is incorrectly annotated with `#[diagnostic::on_const]`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #147224 - hoodmane:wasm-eh-default-on, r=bjorn3 Emscripten: Turn wasm-eh on by default As specified by [MCP](rust-lang/compiler-team#920) Resolves #148309 Resolves #112195
Rollup of 9 pull requests Successful merges: - rust-lang/rust#147224 (Emscripten: Turn wasm-eh on by default) - rust-lang/rust#149405 (Recover on misspelled item keyword) - rust-lang/rust#149443 (Tidying up UI tests [6/N]) - rust-lang/rust#149524 (Move attribute safety checking to attribute parsing) - rust-lang/rust#149593 (powf, powi: point out SNaN non-determinism) - rust-lang/rust#149605 (Use branch name instead of HEAD when unshallowing) - rust-lang/rust#149612 (Apply the `bors` environment also to the `outcome` job) - rust-lang/rust#149623 (Don't require a normal tool build of clippy/rustfmt when running their test steps) - rust-lang/rust#149627 (Point to the item that is incorrectly annotated with `#[diagnostic::on_const]`) r? `@ghost` `@rustbot` modify labels: rollup
|
Thanks @bjorn3! |
Since this commit `-Z emscripten-wasm-eh` is the default for the Rust compiler: rust-lang/rust#147224 This switches to a recent Rust nightly which includes this change. This means we don't need a custom sysroot anymore.
As specified by MCP
Resolves #148309
Resolves #112195