The Rust Programming Language Forum
Catch panic in Wasm
help
camden-smallwood
March 29, 2021, 3:43am
2
In short, wasm32-unknown-unknown is
panic="abort"
by default:
Related issue
C unwind proposal
show post in topic
Related topics
Topic
Replies
Views
Activity
If (this block of code panics) { println ... }
14
1002
July 31, 2022
JS catch wasm out of memory?
10
2465
August 12, 2022
Catch 'exception' from js!?
3
506
December 26, 2019
Issues with panic_unwind and panic_immediate_abort using Cargo 1.85.0-nightly
help
2
945
December 18, 2024
Can caught panics be converted into Python exception?
help
5
2323
March 10, 2020