File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/run-make/broken-pipe-no-ice Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111// Internal Compiler Error strangely, but it doesn't even go through normal diagnostic infra. Very
1212// strange.
1313
14- #![ feature( anonymous_pipe) ]
15-
1614use std:: io:: Read ;
1715use std:: process:: { Command , Stdio } ;
1816
19- use run_make_support:: env_var;
17+ // FIXME(#137532): replace `os_pipe` dependency with std `anonymous_pipe` once that stabilizes and
18+ // reaches beta.
19+ use run_make_support:: { env_var, os_pipe} ;
2020
2121#[ derive( Debug , PartialEq ) ]
2222enum Binary {
@@ -25,7 +25,7 @@ enum Binary {
2525}
2626
2727fn check_broken_pipe_handled_gracefully ( bin : Binary , mut cmd : Command ) {
28- let ( reader, writer) = std :: io :: pipe ( ) . unwrap ( ) ;
28+ let ( reader, writer) = os_pipe :: pipe ( ) . unwrap ( ) ;
2929 drop ( reader) ; // close read-end
3030 cmd. stdout ( writer) . stderr ( Stdio :: piped ( ) ) ;
3131
You can’t perform that action at this time.
0 commit comments