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 14:05:51 -05: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 13:40:08 -05:00
use run_make_support::{run, rustc};
2024-05-21 14:05:51 -05:00
2024-05-21 14:52:00 -05:00
fn main() {
rustc().output("foo").input("foo.rs").run();
2024-05-21 14:05:51 -05:00
run("foo");
}