Bump rmeta version to fix rustc_serialize ICE

#91407 changed the serialization format which leads to ICEs for nightly users such as #91663 and linked issue.
Bumping the metadata version should lead to the cached files being discarded instead.
This commit is contained in:
The 8472 2021-12-09 18:00:36 +01:00
parent 3b263ceb5c
commit 0696e79f27

View File

@ -48,7 +48,7 @@ crate fn rustc_version() -> String {
/// Metadata encoding version.
/// N.B., increment this if you change the format of metadata such that
/// the rustc version can't be found to compare with `rustc_version()`.
const METADATA_VERSION: u8 = 5;
const METADATA_VERSION: u8 = 6;
/// Metadata header which includes `METADATA_VERSION`.
///