Skip to content

Commit

Permalink
Unrolled build for rust-lang#126517
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#126517 - GuillaumeGomez:migrate-run-make-dep-graph, r=Kobzol

Migrate `run-make/dep-graph` to `rmake.rs`

Part of rust-lang#121876.

r? `@jieyouxu`
  • Loading branch information
rust-timer committed Jun 15, 2024
2 parents 92af831 + a4eaf87 commit 050f0ff
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ run-make/cross-lang-lto-upstream-rlibs/Makefile
run-make/cross-lang-lto/Makefile
run-make/debug-assertions/Makefile
run-make/debugger-visualizer-dep-info/Makefile
run-make/dep-graph/Makefile
run-make/dep-info-doesnt-run-much/Makefile
run-make/dep-info-spaces/Makefile
run-make/dep-info/Makefile
Expand Down
12 changes: 0 additions & 12 deletions tests/run-make/dep-graph/Makefile

This file was deleted.

18 changes: 18 additions & 0 deletions tests/run-make/dep-graph/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Just verify that we successfully run and produce dep graphs when requested.

//@ ignore-cross-compile

use run_make_support::{path, rustc};

fn main() {
rustc()
.input("foo.rs")
.incremental(path("incr"))
.arg("-Zquery-dep-graph")
.arg("-Zdump-dep-graph")
.env("RUST_DEP_GRAPH", path("dep-graph"))
.run();

assert!(path("dep-graph.txt").is_file());
assert!(path("dep-graph.dot").is_file());
}

0 comments on commit 050f0ff

Please sign in to comment.