summary refs log tree commit diff
path: root/library/panic_unwind/src/emcc.rs
AgeCommit message (Collapse)AuthorLines
2022-06-09Add underscores to rust_eh_personality arguments to mark them as unusedHood Chatham-5/+5
2022-06-08Remove __gxx_personality_v0 declarationHood Chatham-7/+0
2022-06-08Fix formatterHood Chatham-1/+0
2022-06-08Don't use __gxx_personality_v0 in panic_unwind on emscripten targetHood Chatham-1/+6
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.
2021-12-14Fix a bunch of typosFrank Steffahn-1/+1
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-16/+30
2020-07-27mv std libs to library/mark-0/+121