mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 00:47:18 +00:00
Replace memmap
to memmap2
in proc_macro_api
This commit is contained in:
parent
a0ec841bfe
commit
27ba1dd8e3
3 changed files with 3 additions and 13 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -902,16 +902,6 @@ version = "2.4.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
|
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "memmap"
|
|
||||||
version = "0.7.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b"
|
|
||||||
dependencies = [
|
|
||||||
"libc",
|
|
||||||
"winapi",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "memmap2"
|
name = "memmap2"
|
||||||
version = "0.2.2"
|
version = "0.2.2"
|
||||||
|
@ -1174,7 +1164,7 @@ dependencies = [
|
||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
"jod-thread",
|
"jod-thread",
|
||||||
"log",
|
"log",
|
||||||
"memmap",
|
"memmap2",
|
||||||
"object",
|
"object",
|
||||||
"profile",
|
"profile",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -15,7 +15,7 @@ serde_json = { version = "1.0", features = ["unbounded_depth"] }
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
crossbeam-channel = "0.5.0"
|
crossbeam-channel = "0.5.0"
|
||||||
jod-thread = "0.1.1"
|
jod-thread = "0.1.1"
|
||||||
memmap = "0.7.0"
|
memmap2 = "0.2.0"
|
||||||
object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "elf", "macho", "pe", "unaligned"] }
|
object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "elf", "macho", "pe", "unaligned"] }
|
||||||
snap = "1.0"
|
snap = "1.0"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ use std::{
|
||||||
path::Path,
|
path::Path,
|
||||||
};
|
};
|
||||||
|
|
||||||
use memmap::Mmap;
|
use memmap2::Mmap;
|
||||||
use object::read::{File as BinaryFile, Object, ObjectSection};
|
use object::read::{File as BinaryFile, Object, ObjectSection};
|
||||||
use snap::read::FrameDecoder as SnapDecoder;
|
use snap::read::FrameDecoder as SnapDecoder;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue