mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user