From: The 8472 Date: Thu, 9 Dec 2021 17:00:36 +0000 (+0100) Subject: Bump rmeta version to fix rustc_serialize ICE X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;ds=sidebyside;h=0696e79f2740ad89309269b460579e548a5cd632;p=rust.git 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. --- diff --git a/compiler/rustc_metadata/src/rmeta/mod.rs b/compiler/rustc_metadata/src/rmeta/mod.rs index 4e09d23169a..a65b5dade3e 100644 --- a/compiler/rustc_metadata/src/rmeta/mod.rs +++ b/compiler/rustc_metadata/src/rmeta/mod.rs @@ -48,7 +48,7 @@ /// 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`. ///