]> git.lizzy.rs Git - rust.git/commitdiff
Bump rmeta version to fix rustc_serialize ICE
authorThe 8472 <git@infinite-source.de>
Thu, 9 Dec 2021 17:00:36 +0000 (18:00 +0100)
committerThe 8472 <git@infinite-source.de>
Thu, 9 Dec 2021 17:00:36 +0000 (18:00 +0100)
#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.

compiler/rustc_metadata/src/rmeta/mod.rs

index 4e09d23169aca3c771b86ad12d68c6ec713c32b2..a65b5dade3e560b237ff186b43f8f0a91e21b39b 100644 (file)
@@ -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`.
 ///