File tree 3 files changed +13
-10
lines changed
tests/run-make/compile-stdin
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ run-make/cdylib-fewer-symbols/Makefile
18
18
run-make/cdylib/Makefile
19
19
run-make/codegen-options-parsing/Makefile
20
20
run-make/comment-section/Makefile
21
- run-make/compile-stdin/Makefile
22
21
run-make/compiler-lookup-paths-2/Makefile
23
22
run-make/compiler-lookup-paths/Makefile
24
23
run-make/compiler-rt-works-on-mingw/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // When provided standard input piped directly into rustc, this test checks that the compilation
2
+ // completes successfully and that the output can be executed.
3
+ //
4
+ // See <https://github.com/rust-lang/rust/pull/28805>.
5
+
6
+ //@ ignore-cross-compile
7
+
8
+ use run_make_support:: { run, rustc} ;
9
+
10
+ fn main ( ) {
11
+ rustc ( ) . arg ( "-" ) . stdin ( "fn main() {}" ) . run ( ) ;
12
+ run ( "rust_out" ) ;
13
+ }
You can’t perform that action at this time.
0 commit comments