File tree Expand file tree Collapse file tree 3 files changed +3
-149
lines changed Expand file tree Collapse file tree 3 files changed +3
-149
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ edition = "2021"
13
13
[dependencies ]
14
14
os_pipe = " 1.0.0"
15
15
shared_child = " 1.0.0"
16
+ shared_thread = " 0.1.0"
16
17
17
18
[target .'cfg(unix)' .dependencies ]
18
19
libc = " 0.2.43"
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ use std::os::windows::prelude::*;
109
109
#[ cfg( unix) ]
110
110
pub mod unix;
111
111
112
- mod shared_thread;
113
112
use shared_thread:: SharedThread ;
114
113
115
114
// enums defined below
@@ -1133,13 +1132,13 @@ fn wait_on_handle_and_output(
1133
1132
let ( maybe_stdout_reader, maybe_stderr_reader) = & mut * unique_lock;
1134
1133
let stdout: Vec < u8 > = maybe_stdout_reader
1135
1134
. take ( )
1136
- . map ( SharedThread :: into_result )
1135
+ . map ( SharedThread :: into_output )
1137
1136
. transpose ( )
1138
1137
. expect ( "IO errors already short-circuited" )
1139
1138
. unwrap_or_default ( ) ;
1140
1139
let stderr: Vec < u8 > = maybe_stderr_reader
1141
1140
. take ( )
1142
- . map ( SharedThread :: into_result )
1141
+ . map ( SharedThread :: into_output )
1143
1142
. transpose ( )
1144
1143
. expect ( "IO errors already short-circuited" )
1145
1144
. unwrap_or_default ( ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments