Skip to content

Commit 11a8ca4

Browse files
authored
Rollup merge of rust-lang#66520 - alexcrichton:disable-gdb-wasm, r=eddyb
Disable gdb pretty printer global section on wasm targets The wasm targets don't support gdb anyway so there's no need for this section there.
2 parents 12834ff + eda67ba commit 11a8ca4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_target/spec/wasm32_base.rs

+3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ pub fn options() -> TargetOptions {
140140
has_elf_tls: true,
141141
tls_model: "local-exec".to_string(),
142142

143+
// gdb scripts don't work on wasm blobs
144+
emit_debug_gdb_scripts: false,
145+
143146
.. Default::default()
144147
}
145148
}

0 commit comments

Comments
 (0)