
4/22/2026 · Guy Bedford, Hood Chatham, Logan Gatlin
What this post added
This post details significant advancements in the reliability of Rust Workers by addressing WebAssembly panics and aborts. It introduces `panic=unwind` support for `wasm32-unknown-unknown` via the WebAssembly Exception Handling proposal, allowing Rust destructors to run and preventing instance poisoning. It also implements abort recovery mechanisms, including an abort hook (`set_on_abort`) and abort reentrancy guards, to detect and recover from non-unwindable errors like out-of-memory conditions. Furthermore, it introduces an experimental reinitialization mechanism (`--reset-state-function`) for wasm-bindgen libraries to allow for graceful recovery from aborts without requiring consumers to reimport or recreate instances.