mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 12:31:22 +00:00
Configure walrus to generate DWARF/names at the right times
Fixes ##1254
This commit is contained in:
@ -16,7 +16,7 @@ base64 = "0.9"
|
||||
failure = "0.1.2"
|
||||
rustc-demangle = "0.1.13"
|
||||
tempfile = "3.0"
|
||||
walrus = "0.1"
|
||||
walrus = "0.2"
|
||||
wasm-bindgen-shared = { path = "../shared", version = '=0.2.36' }
|
||||
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.36' }
|
||||
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.36' }
|
||||
|
2
crates/cli-support/src/lib.rs
Normal file → Executable file
2
crates/cli-support/src/lib.rs
Normal file → Executable file
@ -157,6 +157,8 @@ impl Bindgen {
|
||||
// include shared memory, so it fails that part of
|
||||
// validation!
|
||||
.strict_validate(false)
|
||||
.generate_dwarf(self.keep_debug)
|
||||
.generate_name_section(!self.remove_name_section)
|
||||
.parse(&contents)
|
||||
.context("failed to parse input file as wasm")?;
|
||||
let stem = match &self.out_name {
|
||||
|
Reference in New Issue
Block a user