Skip to content

Commit a625ddd

Browse files
committed
Remove the unused cdbg-* debugger directive prefix
There are no tests in `tests/debuginfo` that use this prefix.
1 parent 8b3f7ac commit a625ddd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: src/tools/compiletest/src/runtest/debuginfo.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,8 @@ impl TestCx<'_> {
5959
return;
6060
}
6161

62-
let prefixes = {
63-
static PREFIXES: &[&str] = &["cdb", "cdbg"];
64-
// No "native rust support" variation for CDB yet.
65-
PREFIXES
66-
};
67-
6862
// Parse debugger commands etc from test files
69-
let dbg_cmds = DebuggerCommands::parse_from(&self.testpaths.file, self.config, prefixes)
63+
let dbg_cmds = DebuggerCommands::parse_from(&self.testpaths.file, self.config, &["cdb"])
7064
.unwrap_or_else(|e| self.fatal(&e));
7165

7266
// https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-commands

0 commit comments

Comments
 (0)