Temporarily rename Rust-native IoStreams to make way

The next commit will use this name.
This commit is contained in:
Johannes Altmanninger 2023-10-08 23:13:24 +02:00
parent 6280fcc8c5
commit aaa48e89a5

View file

@ -916,7 +916,7 @@ impl BufferedOutputStream {
}
}
pub struct IoStreams<'a> {
pub struct NativeIoStreams<'a> {
// Streams for out and err.
pub out: &'a mut OutputStream,
pub err: &'a mut OutputStream,
@ -949,9 +949,9 @@ pub struct IoStreams<'a> {
job_group: Option<Rc<JobGroup>>,
}
impl<'a> IoStreams<'a> {
impl<'a> NativeIoStreams<'a> {
pub fn new(out: &'a mut OutputStream, err: &'a mut OutputStream) -> Self {
IoStreams {
NativeIoStreams {
out,
err,
stdin_fd: -1,