We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62314be commit 60e95e7Copy full SHA for 60e95e7
src/tools/rust-analyzer/crates/proc-macro-api/src/version.rs
@@ -122,7 +122,7 @@ pub fn read_version(dylib_path: &AbsPath) -> io::Result<String> {
122
// https://github.com/rust-lang/rust/commit/0696e79f2740ad89309269b460579e548a5cd632
123
let snappy_portion = match version {
124
5 | 6 => &dot_rustc[8..],
125
- 7 => {
+ 7 | 8 => {
126
let len_bytes = &dot_rustc[8..12];
127
let data_len = u32::from_be_bytes(len_bytes.try_into().unwrap()) as usize;
128
&dot_rustc[12..data_len + 12]
0 commit comments