Skip to content

Commit 9e2ace8

Browse files
committed
rewrite debugger-visualizer-dep-info to rmake
1 parent 060a13e commit 9e2ace8

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ run-make/cross-lang-lto-pgo-smoketest/Makefile
2323
run-make/cross-lang-lto-upstream-rlibs/Makefile
2424
run-make/cross-lang-lto/Makefile
2525
run-make/debug-assertions/Makefile
26-
run-make/debugger-visualizer-dep-info/Makefile
2726
run-make/dep-info-doesnt-run-much/Makefile
2827
run-make/dep-info-spaces/Makefile
2928
run-make/dep-info/Makefile

tests/run-make/debugger-visualizer-dep-info/Makefile

-9
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// This test checks that files referenced via #[debugger_visualizer] are
2+
// included in `--emit dep-info` output.
3+
// See https://github.com/rust-lang/rust/pull/111641
4+
5+
use run_make_support::{invalid_utf8_contains, rustc};
6+
7+
fn main() {
8+
rustc().emit("dep-info").input("main.rs").run();
9+
invalid_utf8_contains("main.d", "foo.py");
10+
invalid_utf8_contains("main.d", "my_visualizers/bar.natvis");
11+
}

0 commit comments

Comments
 (0)