rust/tests/run-make/manual-crate-name/rmake.rs
2024-06-07 11:12:24 +02:00

8 lines
167 B
Rust

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