about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-08-03 21:56:56 +0200
committerGitHub <noreply@github.com>2025-08-03 21:56:56 +0200
commit3823f0bc078c90eb0df74fa08fcae52b2c269330 (patch)
tree50529238b372a92b9eaa9a04fdfd1d9414d70b72 /src/doc/rustc-dev-guide
parent116619fb81ee1e53f9e71914949049fdb2b39282 (diff)
parentae2f8d921654f01e008824385fb1e1d7b36ce705 (diff)
downloadrust-3823f0bc078c90eb0df74fa08fcae52b2c269330.tar.gz
rust-3823f0bc078c90eb0df74fa08fcae52b2c269330.zip
Rollup merge of #144738 - bjorn3:remove_omit_gdb_pretty_printer_section, r=jieyouxu
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 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/directives.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md
index 6fff021b0b1..6eac8109e05 100644
--- a/src/doc/rustc-dev-guide/src/tests/directives.md
+++ b/src/doc/rustc-dev-guide/src/tests/directives.md
@@ -299,6 +299,7 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests).
 - [`should-ice`](compiletest.md#incremental-tests) — incremental cfail should
       ICE
 - [`reference`] — an annotation linking to a rule in the reference
+- `disable-gdb-pretty-printers` — disable gdb pretty printers for debuginfo tests
 
 [`reference`]: https://github.com/rust-lang/reference/blob/master/docs/authoring.md#test-rule-annotations