diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-02 15:27:01 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-02 15:27:01 +0000 |
commit | 042e07d89171fa5dd8ba4fc572c183687382c0d7 (patch) | |
tree | 44fb974cd5cf5ced041a3f0097f015208169d3c5 /crates | |
parent | a02a7a9aa6250dd35f0e7d5ac7e83ee9711793e6 (diff) | |
parent | 953883ca546ac0c860d171de26baf1121226091c (diff) |
Merge #7522
7522: Use non-deprecated memmap2 crate r=kjeremy a=kjeremy
`cargo audit` complains that `memmap` is unmaintained so switch to
RazrFalcon's maintained version.
Removes yet another edge on winapi
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/proc_macro_srv/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/proc_macro_srv/src/dylib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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 | ||