mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +03:00
1706756052
For panic=unwind on Wasm targets, define __cpp_exception tag Since llvm/llvm-project#159143, llvm no longer weak links the __cpp_exception tag into each object that uses it. They are now defined in compiler-rt. Rust doesn't seem to get them from compiler-rt so llvm decides they need to be imported. This adds them to libunwind. Same changes applied to compiler-builtins: https://github.com/rust-lang/compiler-builtins/pull/1077 See https://github.com/wasm-bindgen/wasm-bindgen/pull/4938 for a downstream workaround. cc @sbc100