File tree 4 files changed +2
-21
lines changed
src/tools/run-make-support
tests/run-make/broken-pipe-no-ice
4 files changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -2572,16 +2572,6 @@ version = "0.2.0"
2572
2572
source = " registry+https://github.com/rust-lang/crates.io-index"
2573
2573
checksum = " 04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
2574
2574
2575
- [[package ]]
2576
- name = " os_pipe"
2577
- version = " 1.2.1"
2578
- source = " registry+https://github.com/rust-lang/crates.io-index"
2579
- checksum = " 5ffd2b0a5634335b135d5728d84c5e0fd726954b87111f7506a61c502280d982"
2580
- dependencies = [
2581
- " libc" ,
2582
- " windows-sys 0.59.0" ,
2583
- ]
2584
-
2585
2575
[[package ]]
2586
2576
name = " overload"
2587
2577
version = " 0.1.1"
@@ -3142,7 +3132,6 @@ dependencies = [
3142
3132
" gimli 0.31.1" ,
3143
3133
" libc" ,
3144
3134
" object 0.36.7" ,
3145
- " os_pipe" ,
3146
3135
" regex" ,
3147
3136
" serde_json" ,
3148
3137
" similar" ,
Original file line number Diff line number Diff line change @@ -14,9 +14,5 @@ build_helper = { path = "../../build_helper" }
14
14
serde_json = " 1.0"
15
15
libc = " 0.2"
16
16
17
- # FIXME(#137532): replace `os_pipe` with `anonymous_pipe` once it stabilizes and
18
- # reaches beta.
19
- os_pipe = " 1.2.1"
20
-
21
17
[lib ]
22
18
crate-type = [" lib" , " dylib" ]
Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ pub use bstr;
41
41
pub use gimli;
42
42
pub use libc;
43
43
pub use object;
44
- // FIXME(#137532): replace with std `anonymous_pipe` once it stabilizes and reaches beta.
45
- pub use os_pipe;
46
44
pub use regex;
47
45
pub use serde_json;
48
46
pub use similar;
Original file line number Diff line number Diff line change 14
14
use std:: io:: Read ;
15
15
use std:: process:: { Command , Stdio } ;
16
16
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} ;
17
+ use run_make_support:: env_var;
20
18
21
19
#[ derive( Debug , PartialEq ) ]
22
20
enum Binary {
@@ -25,7 +23,7 @@ enum Binary {
25
23
}
26
24
27
25
fn check_broken_pipe_handled_gracefully ( bin : Binary , mut cmd : Command ) {
28
- let ( reader, writer) = os_pipe :: pipe ( ) . unwrap ( ) ;
26
+ let ( reader, writer) = std :: io :: pipe ( ) . unwrap ( ) ;
29
27
drop ( reader) ; // close read-end
30
28
cmd. stdout ( writer) . stderr ( Stdio :: piped ( ) ) ;
31
29
You can’t perform that action at this time.
0 commit comments