We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e3e3df commit 5db8552Copy full SHA for 5db8552
tests/run-make/bare-outfile/Makefile
tests/run-make/bare-outfile/rmake.rs
@@ -0,0 +1,15 @@
1
+// This test checks that manually setting the output file as a bare file with no file extension
2
+// still results in successful compilation.
3
+
4
+//@ ignore-cross-compile
5
6
+use run_make_support::{run, rustc, tmp_dir};
7
+use std::fs;
8
+use std::env;
9
10
+fn main(){
11
+ fs::copy("foo.rs", tmp_dir()).unwrap();
12
+ env::set_current_dir(tmp_dir());
13
+ rustc().output("foo").input("foo.rs");
14
+ run("foo");
15
+}
0 commit comments