Skip to content

Commit

Permalink
Migrate run-make/manual-crate-name to rmake.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 6, 2024
1 parent a330e49 commit 7ad5ebc
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 @@ -136,7 +136,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 7ad5ebc

Please sign in to comment.