mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-23 02:24:08 +00:00
Merge commit '21b06c1beb
' into sync-from-ra
This commit is contained in:
parent
cac74d98f6
commit
e37cf75791
59 changed files with 1080 additions and 477 deletions
|
@ -131,7 +131,7 @@ pub fn read_version(dylib_path: &AbsPath) -> io::Result<String> {
|
|||
let len_bytes = &dot_rustc[8..16];
|
||||
let data_len = u64::from_le_bytes(len_bytes.try_into().unwrap()) as usize;
|
||||
(&dot_rustc[16..data_len + 12], 17)
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
return Err(io::Error::new(
|
||||
io::ErrorKind::InvalidData,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue