wasm: support source maps for the unknown target #46765
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
Source maps are the analogon to debuginfo in the js world, including wasm. So we should generate them.
Emscripten apparently already is able to emit them, at least this example contains source maps: https://yurydelendik.github.io/old-man-sandbox/rust-wasm-hey/hey.html Maybe it's not upstreamed yet, idk.
I guess the bulk of this work would reside inside llvm, but I'm still filing a bug here to track support.
The text was updated successfully, but these errors were encountered: