diff options
-rw-r--r-- | Cargo.lock | 9 | ||||
-rw-r--r-- | crates/proc_macro_srv/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/proc_macro_srv/src/dylib.rs | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock index a8e0bf02e..9c26a0bf7 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -887,13 +887,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
887 | checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" | 887 | checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" |
888 | 888 | ||
889 | [[package]] | 889 | [[package]] |
890 | name = "memmap" | 890 | name = "memmap2" |
891 | version = "0.7.0" | 891 | version = "0.2.0" |
892 | source = "registry+https://github.com/rust-lang/crates.io-index" | 892 | source = "registry+https://github.com/rust-lang/crates.io-index" |
893 | checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" | 893 | checksum = "e73be3b7d04a0123e933fea1d50d126cc7196bbc0362c0ce426694f777194eee" |
894 | dependencies = [ | 894 | dependencies = [ |
895 | "libc", | 895 | "libc", |
896 | "winapi", | ||
897 | ] | 896 | ] |
898 | 897 | ||
899 | [[package]] | 898 | [[package]] |
@@ -1169,7 +1168,7 @@ dependencies = [ | |||
1169 | "cargo_metadata", | 1168 | "cargo_metadata", |
1170 | "libloading", | 1169 | "libloading", |
1171 | "mbe", | 1170 | "mbe", |
1172 | "memmap", | 1171 | "memmap2", |
1173 | "object", | 1172 | "object", |
1174 | "proc_macro_api", | 1173 | "proc_macro_api", |
1175 | "proc_macro_test", | 1174 | "proc_macro_test", |
diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index 83f9ead17..208489e0d 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml | |||
@@ -12,7 +12,7 @@ doctest = false | |||
12 | [dependencies] | 12 | [dependencies] |
13 | object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] } | 13 | object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] } |
14 | libloading = "0.6.0" | 14 | libloading = "0.6.0" |
15 | memmap = "0.7" | 15 | memmap2 = "0.2.0" |
16 | 16 | ||
17 | tt = { path = "../tt", version = "0.0.0" } | 17 | tt = { path = "../tt", version = "0.0.0" } |
18 | mbe = { path = "../mbe", version = "0.0.0" } | 18 | mbe = { path = "../mbe", version = "0.0.0" } |
diff --git a/crates/proc_macro_srv/src/dylib.rs b/crates/proc_macro_srv/src/dylib.rs index 4e719f3aa..00fcc7bdf 100644 --- a/crates/proc_macro_srv/src/dylib.rs +++ b/crates/proc_macro_srv/src/dylib.rs | |||
@@ -7,7 +7,7 @@ use std::{ | |||
7 | }; | 7 | }; |
8 | 8 | ||
9 | use libloading::Library; | 9 | use libloading::Library; |
10 | use memmap::Mmap; | 10 | use memmap2::Mmap; |
11 | use object::Object; | 11 | use object::Object; |
12 | use proc_macro_api::ProcMacroKind; | 12 | use proc_macro_api::ProcMacroKind; |
13 | 13 | ||