From: kennytm Date: Wed, 16 May 2018 15:23:02 +0000 (+0800) Subject: Rollup merge of #50789 - cuviper:bootstrap-metadata, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=e4f8132a32b8364c839864e32eeb42021ab37c6c;p=rust.git 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. --- e4f8132a32b8364c839864e32eeb42021ab37c6c