about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-12-28 23:37:48 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-12-29 00:09:25 +1100
commita625ddd1ed250a32690ce739997706b3bfd7e2ec (patch)
tree7f0e26a7418af9edb17c221c1b6eb45e0e04a04b
parent8b3f7ac5262531aefa227f90387cf2eb34aae800 (diff)
downloadrust-a625ddd1ed250a32690ce739997706b3bfd7e2ec.tar.gz
rust-a625ddd1ed250a32690ce739997706b3bfd7e2ec.zip
Remove the unused `cdbg-*` debugger directive prefix
There are no tests in `tests/debuginfo` that use this prefix.
-rw-r--r--src/tools/compiletest/src/runtest/debuginfo.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tools/compiletest/src/runtest/debuginfo.rs b/src/tools/compiletest/src/runtest/debuginfo.rs
index c621c22ac99..7f1f85ba730 100644
--- a/src/tools/compiletest/src/runtest/debuginfo.rs
+++ b/src/tools/compiletest/src/runtest/debuginfo.rs
@@ -59,14 +59,8 @@ impl TestCx<'_> {
             return;
         }
 
-        let prefixes = {
-            static PREFIXES: &[&str] = &["cdb", "cdbg"];
-            // No "native rust support" variation for CDB yet.
-            PREFIXES
-        };
-
         // Parse debugger commands etc from test files
-        let dbg_cmds = DebuggerCommands::parse_from(&self.testpaths.file, self.config, prefixes)
+        let dbg_cmds = DebuggerCommands::parse_from(&self.testpaths.file, self.config, &["cdb"])
             .unwrap_or_else(|e| self.fatal(&e));
 
         // https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-commands