
8/14/2023 · Sven Sauleau, Celso Martinho
What this post added
This post introduces the concept and implementation of WebAssembly (Wasm) core dumps and debugging Rust code within Cloudflare Workers. It explains what core dumps are, how they are generated for Wasm (including the use of DWARF), and the current experimental status of Wasm core dump support. Crucially, it details a polyfilling approach using `wasm-coredump-rewriter` to enable core dump generation and debugging for Rust/Wasm in Cloudflare Workers, addressing the lack of native support in the `workerd` runtime.