Skip to content

Commit 44ffff9

Browse files
authored
Unrolled build for #155281
Rollup merge of #155281 - folkertdev:revert-154840, r=folkertdev Revert "allow `windows-gnu` targets to embed gdb visualizer scripts" Fixes #155277 This reverts commit 472b966. This was merged as #154840, but causes linker errors in the wild. cc @Walnut356 @mati865 r? @ghost
2 parents 12f35ad + 17f5fa0 commit 44ffff9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/rustc_target/src/spec/base/windows_gnu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub(crate) fn opts() -> TargetOptions {
9999
late_link_args_dynamic,
100100
late_link_args_static,
101101
abi_return_struct_as_int: true,
102-
emit_debug_gdb_scripts: true,
102+
emit_debug_gdb_scripts: false,
103103
requires_uwtable: true,
104104
eh_frame_header: false,
105105
debuginfo_kind: DebuginfoKind::Dwarf,

compiler/rustc_target/src/spec/base/windows_gnullvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(crate) fn opts() -> TargetOptions {
4242
link_self_contained: LinkSelfContainedDefault::InferredForMingw,
4343
late_link_args,
4444
abi_return_struct_as_int: true,
45-
emit_debug_gdb_scripts: true,
45+
emit_debug_gdb_scripts: false,
4646
requires_uwtable: true,
4747
eh_frame_header: false,
4848
no_default_libraries: false,

0 commit comments

Comments
 (0)