about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2022-06-08 10:04:02 -0700
committerHood Chatham <roberthoodchatham@gmail.com>2022-06-08 10:04:02 -0700
commit2ecbdc1b3223eb9acda60014946738cd8e87f7e5 (patch)
treed345239c8dece3fc5663005b82ad9a6bf4ec25d7 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent1a97162cb245b5e2c7458c28859e3df779908c02 (diff)
downloadrust-2ecbdc1b3223eb9acda60014946738cd8e87f7e5.tar.gz
rust-2ecbdc1b3223eb9acda60014946738cd8e87f7e5.zip
Don't use __gxx_personality_v0 in panic_unwind on emscripten target
This resolves #85821. See also the discussion here:
https://github.com/emscripten-core/emscripten/issues/17128

The consensus seems to be that rust_eh_personality is never invoked.
I patched __gxx_personality_v0 to log invocations and then ran
various panic tests and it was never called, so this analysis matches
what seems to happen in practice. This replaces the definition with
an abort, modeled on the structured exception handling implementation.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions