rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

False statement #296

Open bravequickcleverfibreyarn opened 1 year ago

bravequickcleverfibreyarn commented 1 year ago

Summary

debug option of profile section is obviously ignored.

wasm-pack build --dev run against

[profile.dev]
debug = false

produces build with names and

wasm-pack build --release against

[profile.release]
debug = true

without.

I.e. profile.debug settings are ignored by wasm-pack build command.