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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
168 B
Rust
Raw Normal View History

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