diff options
| author | bors <bors@rust-lang.org> | 2016-11-23 17:48:44 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-23 17:48:44 -0600 |
| commit | 1e45b63052ae19c206a347d7fdfcdd97929f57d3 (patch) | |
| tree | a46a54b8acb8ab734b7f8b69d438ad34dfb69c34 /src/rustllvm/RustWrapper.cpp | |
| parent | d5814b03e652043be607f96e24709e06c2b55429 (diff) | |
| parent | f4c68d2825535cbef847d0ac874ceced81cf2980 (diff) | |
| download | rust-1e45b63052ae19c206a347d7fdfcdd97929f57d3.tar.gz rust-1e45b63052ae19c206a347d7fdfcdd97929f57d3.zip | |
Auto merge of #37931 - eddyb:meta-version, r=jseyfried
rustc_metadata: don't break the version check when CrateRoot changes. In #36551 I made `rustc_version` a field of `CrateRoot`, but despite it being the first field, one could still break the version check by changing `CrateRoot` so older compilers couldn't fully decode it (e.g. #37463). This PR fixes #37803 by moving the version string back at the beginning of metadata, right after the 32-bit big-endian absolute position of `CrateRoot`, and by incrementing `METADATA_VERSION`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
