Skip to content

Commit

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

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

Part of rust-lang#121876.

r? `@jieyouxu`
  • Loading branch information
GuillaumeGomez authored Jun 6, 2024
2 parents 5ef362f + 7ad5ebc commit 4e79737
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 4e79737

Please sign in to comment.