Dogfood feature(file_buffered)
This commit is contained in:
parent
1e9a50dde8
commit
0999b019f8
28 changed files with 44 additions and 40 deletions
|
@ -1,5 +1,6 @@
|
|||
// tidy-alphabetical-start
|
||||
#![feature(decl_macro)]
|
||||
#![feature(file_buffered)]
|
||||
#![feature(let_chains)]
|
||||
#![feature(try_blocks)]
|
||||
#![warn(unreachable_pub)]
|
||||
|
|
|
@ -519,7 +519,7 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
|
|||
write_deps_to_file(&mut file)?;
|
||||
}
|
||||
OutFileName::Real(ref path) => {
|
||||
let mut file = BufWriter::new(fs::File::create(path)?);
|
||||
let mut file = fs::File::create_buffered(path)?;
|
||||
write_deps_to_file(&mut file)?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue