Skip to content

Commit 82575a1

Browse files
committed
Auto merge of #91715 - the8472:bump-rmeta-fromat-version, r=Mark-Simulacrum
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 issues. The issue can be solved by running `cargo clean`. But bumping the metadata version should lead to the cached files being discarded, avoiding the issue entirely.
2 parents f0448f4 + 0696e79 commit 82575a1

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_metadata/src/rmeta

1 file changed

+1
-1
lines changed

compiler/rustc_metadata/src/rmeta/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ crate fn rustc_version() -> String {
4848
/// Metadata encoding version.
4949
/// N.B., increment this if you change the format of metadata such that
5050
/// the rustc version can't be found to compare with `rustc_version()`.
51-
const METADATA_VERSION: u8 = 5;
51+
const METADATA_VERSION: u8 = 6;
5252

5353
/// Metadata header which includes `METADATA_VERSION`.
5454
///

0 commit comments

Comments
 (0)