]> git.lizzy.rs Git - rust.git/commit
rustc: Use `create_dir_racy` in save analysis
authorAlex Crichton <alex@alexcrichton.com>
Tue, 13 Dec 2016 17:12:39 +0000 (09:12 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 13 Dec 2016 17:17:28 +0000 (09:17 -0800)
commita1f5001998ad43ee6ce5a933be737ed63317916f
tree3dd95e60114052037131f10b7f7c30d647152761
parent0d1b9f4614a086e92a81f45b46c73d5e4b6ad94d
rustc: Use `create_dir_racy` in save analysis

The OSX bots failed last night due a race condition in save analysis where
concurrent calls to `fs::create_dir_all` conflicted with one another. This
replaces the relevant function call with `fs::create_dir_racy` which is defined
internally to the compiler.
src/librustc_save_analysis/lib.rs