Skip to content

Commit 80f5a3e

Browse files
committed
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.
1 parent d39f347 commit 80f5a3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/directives.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests).
298298
- [`should-ice`](compiletest.md#incremental-tests) — incremental cfail should
299299
ICE
300300
- [`reference`] — an annotation linking to a rule in the reference
301+
- `disable-gdb-pretty-printers` — disable gdb pretty printers for debuginfo tests
301302

302303
[`reference`]: https://github.com/rust-lang/reference/blob/master/docs/authoring.md#test-rule-annotations
303304

0 commit comments

Comments
 (0)