2024-06-06 21:34:34 +02:00
|
|
|
use std::path::Path;
|
2024-06-06 10:19:15 +02:00
|
|
|
|
2024-06-06 21:34:34 +02:00
|
|
|
use run_make_support::rustc;
|
2024-07-29 08:13:50 +10:00
|
|
|
|
2024-06-06 10:19:15 +02:00
|
|
|
fn main() {
|
|
|
|
rustc().input("bar.rs").crate_name("foo").run();
|
2024-06-06 21:34:34 +02:00
|
|
|
assert!(Path::new("libfoo.rlib").is_file());
|
2024-06-06 10:19:15 +02:00
|
|
|
}
|