Skip to content

Commit

Permalink
Unrolled build for rust-lang#126064
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#126064 - GuillaumeGomez:migrate-run-make-manual-crate-name, r=jieyouxu

Migrate `run-make/manual-crate-name` to `rmake.rs`

Part of rust-lang#121876.

r? ``@jieyouxu``
  • Loading branch information
rust-timer authored Jun 7, 2024
2 parents 98489f2 + 7ad5ebc commit cf37bbf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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 @@ -135,7 +135,6 @@ run-make/lto-readonly-lib/Makefile
run-make/lto-smoke-c/Makefile
run-make/macos-deployment-target/Makefile
run-make/macos-fat-archive/Makefile
run-make/manual-crate-name/Makefile
run-make/manual-link/Makefile
run-make/many-crates-but-no-match/Makefile
run-make/metadata-dep-info/Makefile
Expand Down
5 changes: 0 additions & 5 deletions tests/run-make/manual-crate-name/Makefile

This file was deleted.

6 changes: 6 additions & 0 deletions tests/run-make/manual-crate-name/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
use run_make_support::{rustc, tmp_dir};

fn main() {
rustc().input("bar.rs").crate_name("foo").run();
assert!(tmp_dir().join("libfoo.rlib").is_file());
}

0 comments on commit cf37bbf

Please sign in to comment.