]> git.lizzy.rs Git - rust.git/commit
wasm32-unknown-emscripten expects the rust_eh_personality symbol
authorChristopher Serr <christopher.serr@gmail.com>
Thu, 8 Nov 2018 01:56:25 +0000 (02:56 +0100)
committerChristopher Serr <christopher.serr@gmail.com>
Thu, 8 Nov 2018 02:27:45 +0000 (03:27 +0100)
commita9b598884719cccdcf699567cece2a6ac46fc84c
treef6799ed40dd129d0c382e4cf1c752af7232a52c0
parent25a42b2ceb46887e9941cec667eac99844dd7ad0
wasm32-unknown-emscripten expects the rust_eh_personality symbol

The `wasm32-unknown-emscripten` expects the `rust_eh_personality` symbol to be there, but a cfg checking for `target_arch = "wasm32"` which was meant to remove the symbol from the `wasm32-unknown-unknown` target, didn't check for whether `emscripten` is targeted or not, so the symbol accidentally got filtered out there as well.

Fixes #55276
src/libpanic_abort/lib.rs