Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Update memmap2 dependency (#13754)

Alex Crichton3cf8be741020
diff --git a/Cargo.lock b/Cargo.lock
index a3fc559352..8af314ab64 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2440,9 +2440,9 @@ dependencies = [
[[package]]
name = "memmap2"
-version = "0.2.3"
+version = "0.9.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4"
+checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0"
dependencies = [
"libc",
]
diff --git a/cranelift/jit/Cargo.toml b/cranelift/jit/Cargo.toml
index 0c9d6a46f9..c729492396 100644
--- a/cranelift/jit/Cargo.toml
+++ b/cranelift/jit/Cargo.toml
@@ -24,7 +24,7 @@ anyhow = { workspace = true }
region = "3.0.2"
libc = { workspace = true }
target-lexicon = { workspace = true }
-memmap2 = "0.2.1"
+memmap2 = "0.9.11"
log = { workspace = true }
wasmtime-jit-icache-coherence = { workspace = true }
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index c69f149613..e67093059a 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -3879,6 +3879,15 @@ criteria = "safe-to-deploy"
delta = "0.6.4 -> 0.6.5"
notes = "Just updating dependencies"
+[[audits.memmap2]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.2.3 -> 0.9.11"
+notes = """
+Large update, but everything is still as expected in this crate. Lots of
+`unsafe`, but that's what you get for using `mmap`. Nothing looks awry.
+"""
+
[[audits.memoffset]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"