Add an option to --keep-debug 路 Issue #1351 路 rustwasm/wasm-pack (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
馃挕 Feature description
With rustwasm/wasm-bindgen#2389, DWARF symbols work in wasm-bindgen when --keep-debug
is passed. However, this cannot be passed from the wasm-pack
interface (as far as I know)
馃捇 Basic example
Currently one manually has to do
cargo build --target wasm32-unknown-unknown && wasm-bindgen --keep-debug --web --out-dir pkg ./target/wasm32-unknown-unknown/
It would be better to add some wasm-pack build --keep-debug
, or even make that the default for dev builds.