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
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
If (this block of code panics) { println ... }
15
861
October 29, 2022
JS catch wasm out of memory?
11
2308
November 10, 2022
Catch 'exception' from js!?
4
479
March 25, 2020
Issues with panic_unwind and panic_immediate_abort using Cargo 1.85.0-nightly
help
3
812
March 18, 2025
Can caught panics be converted into Python exception?
help
6
2265
June 8, 2020