about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-05-15 17:48:02 -0700
committerJosh Stone <jistone@redhat.com>2018-05-15 17:48:02 -0700
commite8e5eb58c0d6890f73ea01354e18f51b1a6697f8 (patch)
tree34d6cac4bd2a9c355a4344791eafe382fa766711 /src/rustllvm/PassWrapper.cpp
parentf0fdaba04ea7474cd1f66264ef4edb3485a95864 (diff)
downloadrust-e8e5eb58c0d6890f73ea01354e18f51b1a6697f8.tar.gz
rust-e8e5eb58c0d6890f73ea01354e18f51b1a6697f8.zip
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