Auto merge of #154840 - Walnut356:windows_gdb_embed, r=mati865

allow `windows-gnu` targets to embed gdb visualizer scripts

Pretty straigthforward, works exactly the same as any other `*-gnu` target so i'm not sure why it wasn't enabled already.
This commit is contained in:
bors
2026-04-12 17:09:00 +00:00
2 changed files with 2 additions and 2 deletions
@@ -99,7 +99,7 @@ pub(crate) fn opts() -> TargetOptions {
late_link_args_dynamic,
late_link_args_static,
abi_return_struct_as_int: true,
emit_debug_gdb_scripts: false,
emit_debug_gdb_scripts: true,
requires_uwtable: true,
eh_frame_header: false,
debuginfo_kind: DebuginfoKind::Dwarf,
@@ -42,7 +42,7 @@ pub(crate) fn opts() -> TargetOptions {
link_self_contained: LinkSelfContainedDefault::InferredForMingw,
late_link_args,
abi_return_struct_as_int: true,
emit_debug_gdb_scripts: false,
emit_debug_gdb_scripts: true,
requires_uwtable: true,
eh_frame_header: false,
no_default_libraries: false,