rust/tests/run-make/manual-crate-name/rmake.rs

7 lines
149 B
Rust

use run_make_support::{path, rustc};
fn main() {
rustc().input("bar.rs").crate_name("foo").run();
assert!(path("libfoo.rlib").is_file());
}