Re:Debugging WebAssembly with Modern Tools
by jsheard on Thursday December 10, 2020 @06:26PM
(#25380197)
Does this work with Rust's WASM target yet? The article only discusses C/C++ via Emscripten.
[ Parent
| on HN ]
Re:Debugging WebAssembly with Modern Tools
by RReverser on Thursday December 10, 2020 @06:45PM
(#25380370)
It does work with basic Rust compiled to Wasm, but most of the ecosystem uses wasm-pack / wasm-bindgen, which currently doesn't support DWARF.
You can subscribe to https://github.com/rustwasm/wasm-bindgen/issues/2389, but, unfortunately, wasm-pack currently is maintainerless until someone steps in. (see https://twitter.com/ag_dubs/status/1319651621698232322)