about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-12-23 08:43:28 +0000
committerGitHub <noreply@github.com>2024-12-23 08:43:28 +0000
commit444d0d765d8b6ad3f2618fcd4c0fa315cb7ccfff (patch)
tree96210ddfdb97ef39ceb544cd4a9fd1fff2187ed1 /src/doc/rustc-dev-guide
parenta09ba61931ebfa4220ac77e9d973ece3b242caef (diff)
downloadrust-444d0d765d8b6ad3f2618fcd4c0fa315cb7ccfff.tar.gz
rust-444d0d765d8b6ad3f2618fcd4c0fa315cb7ccfff.zip
Document the `--debugger` flag (#2170)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/compiletest.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md
index ee56b34553a..815509a8213 100644
--- a/src/doc/rustc-dev-guide/src/tests/compiletest.md
+++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md
@@ -244,6 +244,9 @@ the debugger currently being used:
   The "Rust" version of LLDB doesn't exist anymore, so this will always be
   ignored. This should probably be removed.
 
+By passing the `--debugger` option to compiletest, you can specify a single debugger to run tests with.
+For example, `./x test tests/debuginfo -- --debugger gdb` will only test GDB commands.
+
 > **Note on running lldb debuginfo tests locally**
 >
 > If you want to run lldb debuginfo tests locally, then currently on Windows it