Skip to content

Commit

Permalink
Bump rmeta version to fix rustc_serialize ICE
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
the8472 committed Dec 9, 2021
1 parent 3b263ce commit 0696e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_metadata/src/rmeta/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
///
Expand Down

0 comments on commit 0696e79

Please sign in to comment.