about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-16 23:23:02 +0800
committerkennytm <kennytm@gmail.com>2018-05-17 05:18:17 +0800
commite4f8132a32b8364c839864e32eeb42021ab37c6c (patch)
tree9622fa19659be5a7c19d863d23d7314e42f895bd /src/rustllvm/PassWrapper.cpp
parentd3bf72142c6fcc5b8ba4f2f12e1142555c9caa11 (diff)
parente8e5eb58c0d6890f73ea01354e18f51b1a6697f8 (diff)
downloadrust-e4f8132a32b8364c839864e32eeb42021ab37c6c.tar.gz
rust-e4f8132a32b8364c839864e32eeb42021ab37c6c.zip
Rollup merge of #50789 - cuviper:bootstrap-metadata, r=alexcrichton
Ensure libraries built in stage0 have unique metadata

Issue #50786 shows a case with local rebuild where the libraries built
by stage0 had the same suffix as stage0's own, and were accidentally
loaded by that stage0 rustc when compiling `librustc_trans`.

Now we set `__CARGO_DEFAULT_LIB_METADATA` to "bootstrap" during stage0,
rather than the release channel like usual, so the library suffix will
always be completely distinct from the stage0 compiler.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions