]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #47328 - mbrubeck:fs_read, r=sfackler
authorkennytm <kennytm@gmail.com>
Fri, 12 Jan 2018 18:26:35 +0000 (02:26 +0800)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2018 18:26:35 +0000 (02:26 +0800)
Use the new fs_read_write functions in rustc internals

Uses `fs::read` and `fs::write` (added by #45837) where appropriate, to simplify code and dog-food these new APIs.  This also improves performance, when combined with #47324.

1  2 
src/librustc_back/target/mod.rs
src/librustc_incremental/assert_dep_graph.rs
src/librustc_incremental/persist/save.rs

Simple merge