mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

If we build the standard library with wasm-eh then we need to link with `-fwasm-exceptions` even if we compile with `panic=abort` Without this change, linking a `panic=abort` crate fails with: `undefined symbol: __cpp_exception`. Followup to #131830.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.