forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#125607 - GuillaumeGomez:migrate-compile-std…
…in, r=jieyouxu Migrate `run-make/compile-stdin` to `rmake.rs` Part of rust-lang#121876. r? `@jieyouxu`
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// When provided standard input piped directly into rustc, this test checks that the compilation | ||
// completes successfully and that the output can be executed. | ||
// | ||
// See <https://github.com/rust-lang/rust/pull/28805>. | ||
|
||
//@ ignore-cross-compile | ||
|
||
use run_make_support::{run, rustc}; | ||
|
||
fn main() { | ||
rustc().arg("-").stdin("fn main() {}").run(); | ||
run("rust_out"); | ||
} |