mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Migrate run-make/manual-crate-name
to rmake.rs
This commit is contained in:
parent
a330e49593
commit
7ad5ebc75c
@ -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
|
||||
|
@ -1,5 +0,0 @@
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
||||
$(RUSTC) --crate-name foo bar.rs
|
||||
rm $(TMPDIR)/libfoo.rlib
|
6
tests/run-make/manual-crate-name/rmake.rs
Normal file
6
tests/run-make/manual-crate-name/rmake.rs
Normal file
@ -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());
|
||||
}
|
Loading…
Reference in New Issue
Block a user