about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-31 22:26:55 -0800
committerbors <bors@rust-lang.org>2013-12-31 22:26:55 -0800
commit03b510297c5c8ecd9b76ad2aa6d5a2ebcf70c13b (patch)
treecd74d5dda0fb5f090654d507ecda08b229d5a2a2 /src/rustllvm/RustWrapper.cpp
parente61937a6bf5e3a612dd8e2aa92061345f73d4b30 (diff)
parentfe300870807ccd364b2f40c42c2043833c1f0783 (diff)
downloadrust-03b510297c5c8ecd9b76ad2aa6d5a2ebcf70c13b.tar.gz
rust-03b510297c5c8ecd9b76ad2aa6d5a2ebcf70c13b.zip
auto merge of #11215 : alexcrichton/rust/metadata-filename, r=pcwalton
Right now if you have concurrent builds of two libraries in the same directory
(such as rustc's bootstrapping process), it's possible that two libraries will
stomp over each others' metadata, producing corrupt rlibs.

By placing the metadata file in a tempdir we're guranteed to not conflict with
ay other builds happening concurrently. Normally this isn't a problem because
output filenames are scoped to the name of the crate, but metadata is special in
that it has the same name across all crates.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions