diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-31 14:56:49 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-08-01 20:04:59 +0000 |
| commit | ae2f8d921654f01e008824385fb1e1d7b36ce705 (patch) | |
| tree | 18a6f6f1074a9700ce81596ac3544f5bee8581aa /tests/debuginfo/function-arg-initialization.rs | |
| parent | 6c02dd4eae83befde07dc4782395e2005055e9fa (diff) | |
| download | rust-ae2f8d921654f01e008824385fb1e1d7b36ce705.tar.gz rust-ae2f8d921654f01e008824385fb1e1d7b36ce705.zip | |
Remove the omit_gdb_pretty_printer_section attribute
Disabling loading of pretty printers in the debugger itself is more reliable. Before this commit the .gdb_debug_scripts section couldn't be included in dylibs or rlibs as otherwise there is no way to disable the section anymore without recompiling the entire standard library.
Diffstat (limited to 'tests/debuginfo/function-arg-initialization.rs')
| -rw-r--r-- | tests/debuginfo/function-arg-initialization.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/debuginfo/function-arg-initialization.rs b/tests/debuginfo/function-arg-initialization.rs index ae54d56623c..03fb1e2d062 100644 --- a/tests/debuginfo/function-arg-initialization.rs +++ b/tests/debuginfo/function-arg-initialization.rs @@ -8,6 +8,7 @@ //@ min-lldb-version: 1800 //@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts // SingleUseConsts shouldn't need to be disabled, see #128945 +//@ disable-gdb-pretty-printers // === GDB TESTS =================================================================================== @@ -214,8 +215,6 @@ #![allow(unused_variables)] -#![feature(omit_gdb_pretty_printer_section)] -#![omit_gdb_pretty_printer_section] fn immediate_args(a: isize, b: bool, c: f64) { zzz(); // #break |
