os-rust/tests/run-make/bare-outfile/rmake.rs

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

12 lines
283 B
Rust
Raw Permalink Normal View History

2024-05-21 15:05:51 -04:00
// This test checks that manually setting the output file as a bare file with no file extension
// still results in successful compilation.
//@ ignore-cross-compile
2024-06-06 20:40:08 +02:00
use run_make_support::{run, rustc};
2024-05-21 15:05:51 -04:00
2024-05-21 15:52:00 -04:00
fn main() {
rustc().output("foo").input("foo.rs").run();
2024-05-21 15:05:51 -04:00
run("foo");
}