about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-03-09 06:06:34 +0000
committerbors <bors@rust-lang.org>2017-03-09 06:06:34 +0000
commit5c9208faf1f180cd15cf93f74f1e57b24856d11e (patch)
tree0d6cd4274d9abf0a976baea94459942a34155b8e /src/rustllvm/RustWrapper.cpp
parent758f37480be34e657abd3870c863e6e7edb1cd30 (diff)
parente412af2a887da25c987d4ca367b7b471b6c5fb55 (diff)
downloadrust-5c9208faf1f180cd15cf93f74f1e57b24856d11e.tar.gz
rust-5c9208faf1f180cd15cf93f74f1e57b24856d11e.zip
Auto merge of #40337 - alexcrichton:racy-dirs, r=brson
rustbuild: Assert directory creation succeeds

I've been seeing failures on the bots when building jemalloc and my assumption
is that it's because cwd isn't created. That may be possible if this
`create_dir_all` call change in this commit fails, in which case we ignore the
error.

This commit updates the location to call `create_dir_racy` which handles
concurrent invocations, as multiple build scripts may be trying to create the
`native` dir.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions