about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-20 07:09:36 -0700
committerGitHub <noreply@github.com>2016-08-20 07:09:36 -0700
commita361cdb72f0ecb155f7da7a025d5af4f49f1e735 (patch)
tree2b2560f53811ae444201fb2bb91f1a3c033e5afe /src/rustllvm/RustWrapper.cpp
parent0155eb16dd06dbe0761b7486fba96f674cea4d65 (diff)
parentffbb8600fbba009598cbebf7149d0bd7a736b928 (diff)
downloadrust-a361cdb72f0ecb155f7da7a025d5af4f49f1e735.tar.gz
rust-a361cdb72f0ecb155f7da7a025d5af4f49f1e735.zip
Rollup merge of #35811 - jonathandturner:fix_rustbuild_version_test, r=alexcrichton
Add workaround to detect correct compiler version

This adds a workaround which fixes a rustbuild issue where the wrong compiler is checked for the version number.  The bug would arise if you build the system correctly then changed to any other version (eg doing a `git pull`).  After changing to the new version, building would fail and complain that crates were built with the wrong compiler.

There are actually two compilers at play, the bootstrapping compiler (called the "snapshot" compiler) and the actual compiler being built (the "real" compiler).  In the case of this issue, the wrong compiler was being checked for version mismatch.

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions