diff options
-rw-r--r-- | Cargo.lock | 12 | ||||
-rw-r--r-- | crates/proc_macro_api/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/proc_macro_api/src/version.rs | 2 |
3 files changed, 3 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock index 1cfd704f6..0ca0b7b63 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -903,16 +903,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
903 | checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" | 903 | checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" |
904 | 904 | ||
905 | [[package]] | 905 | [[package]] |
906 | name = "memmap" | ||
907 | version = "0.7.0" | ||
908 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
909 | checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" | ||
910 | dependencies = [ | ||
911 | "libc", | ||
912 | "winapi", | ||
913 | ] | ||
914 | |||
915 | [[package]] | ||
916 | name = "memmap2" | 906 | name = "memmap2" |
917 | version = "0.2.2" | 907 | version = "0.2.2" |
918 | source = "registry+https://github.com/rust-lang/crates.io-index" | 908 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1174,7 +1164,7 @@ dependencies = [ | |||
1174 | "crossbeam-channel", | 1164 | "crossbeam-channel", |
1175 | "jod-thread", | 1165 | "jod-thread", |
1176 | "log", | 1166 | "log", |
1177 | "memmap", | 1167 | "memmap2", |
1178 | "object", | 1168 | "object", |
1179 | "profile", | 1169 | "profile", |
1180 | "serde", | 1170 | "serde", |
diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index 1ba1e4abd..2ce5eeedd 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml | |||
@@ -15,7 +15,7 @@ serde_json = { version = "1.0", features = ["unbounded_depth"] } | |||
15 | log = "0.4.8" | 15 | log = "0.4.8" |
16 | crossbeam-channel = "0.5.0" | 16 | crossbeam-channel = "0.5.0" |
17 | jod-thread = "0.1.1" | 17 | jod-thread = "0.1.1" |
18 | memmap = "0.7.0" | 18 | memmap2 = "0.2.0" |
19 | object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "elf", "macho", "pe", "unaligned"] } | 19 | object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "elf", "macho", "pe", "unaligned"] } |
20 | snap = "1.0" | 20 | snap = "1.0" |
21 | 21 | ||
diff --git a/crates/proc_macro_api/src/version.rs b/crates/proc_macro_api/src/version.rs index dcf8fae8f..6dbac50b4 100644 --- a/crates/proc_macro_api/src/version.rs +++ b/crates/proc_macro_api/src/version.rs | |||
@@ -6,7 +6,7 @@ use std::{ | |||
6 | path::Path, | 6 | path::Path, |
7 | }; | 7 | }; |
8 | 8 | ||
9 | use memmap::Mmap; | 9 | use memmap2::Mmap; |
10 | use object::read::{File as BinaryFile, Object, ObjectSection}; | 10 | use object::read::{File as BinaryFile, Object, ObjectSection}; |
11 | use snap::read::FrameDecoder as SnapDecoder; | 11 | use snap::read::FrameDecoder as SnapDecoder; |
12 | 12 | ||