Auto merge of #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.
This commit is contained in:
bors 2019-12-05 05:28:48 +00:00
commit d825e35ee8
2 changed files with 5 additions and 0 deletions

View File

@ -140,6 +140,9 @@ pub fn options() -> TargetOptions {
has_elf_tls: true,
tls_model: "local-exec".to_string(),
// gdb scripts don't work on wasm blobs
emit_debug_gdb_scripts: false,
.. Default::default()
}
}

View File

@ -1,6 +1,8 @@
// ignore-tidy-linelength
// ignore-windows
// ignore-macos
// ignore-wasm
// ignore-emscripten
// compile-flags: -g -C no-prepopulate-passes