Skip to content

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

Update `object` and `hashbrown` workspace deps (#12543)

Nick Fitzgeraldad09df27695f
diff --git a/Cargo.lock b/Cargo.lock
index 7b5a3da6db..e03c860f30 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -764,7 +764,7 @@ dependencies = [
"criterion",
"env_logger 0.11.5",
"gimli 0.33.0",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
"libm",
"log",
"postcard",
@@ -852,7 +852,7 @@ version = "0.130.0"
dependencies = [
"cranelift-codegen",
"env_logger 0.11.5",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
"log",
"similar",
"smallvec 1.15.1",
@@ -923,7 +923,7 @@ dependencies = [
"anyhow",
"cranelift-codegen",
"cranelift-control",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
"serde",
"serde_derive",
]
@@ -948,7 +948,7 @@ dependencies = [
"cranelift-frontend",
"cranelift-module",
"log",
- "object 0.37.3",
+ "object 0.38.1",
"target-lexicon",
]
@@ -1436,6 +1436,12 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2"
+[[package]]
+name = "foldhash"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
+
[[package]]
name = "foreign-types"
version = "0.3.2"
@@ -1702,7 +1708,7 @@ version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
dependencies = [
- "foldhash",
+ "foldhash 0.1.3",
"serde",
]
@@ -1711,6 +1717,9 @@ name = "hashbrown"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
+dependencies = [
+ "foldhash 0.2.0",
+]
[[package]]
name = "heck"
@@ -2371,7 +2380,7 @@ name = "min-platform-host"
version = "43.0.0"
dependencies = [
"libloading",
- "object 0.37.3",
+ "object 0.38.1",
"wasmtime",
]
@@ -2514,12 +2523,12 @@ dependencies = [
[[package]]
name = "object"
-version = "0.37.3"
+version = "0.38.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe"
+checksum = "271638cd5fa9cca89c4c304675ca658efc4e64a66c716b7cfe1afb4b9611dbbc"
dependencies = [
"crc32fast",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
"indexmap 2.11.4",
"memchr",
]
@@ -4260,7 +4269,7 @@ version = "43.0.0"
dependencies = [
"bitflags 2.9.4",
"byte-array-literals",
- "object 0.37.3",
+ "object 0.38.1",
"wasip1",
"wasm-encoder",
"wit-bindgen-rust-macro",
@@ -4524,7 +4533,7 @@ dependencies = [
"log",
"mach2",
"memfd",
- "object 0.37.3",
+ "object 0.38.1",
"once_cell",
"postcard",
"proptest",
@@ -4634,7 +4643,7 @@ dependencies = [
"log",
"memchr",
"num_cpus",
- "object 0.37.3",
+ "object 0.38.1",
"pulley-interpreter",
"rayon",
"rustix 1.0.8",
@@ -4706,10 +4715,10 @@ dependencies = [
"cranelift-entity",
"env_logger 0.11.5",
"gimli 0.33.0",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
"indexmap 2.11.4",
"log",
- "object 0.37.3",
+ "object 0.38.1",
"postcard",
"rustc-demangle",
"semver",
@@ -4868,7 +4877,7 @@ name = "wasmtime-internal-core"
version = "43.0.0"
dependencies = [
"anyhow",
- "hashbrown 0.15.2",
+ "hashbrown 0.16.1",
"libm",
]
@@ -4885,7 +4894,7 @@ dependencies = [
"gimli 0.33.0",
"itertools 0.14.0",
"log",
- "object 0.37.3",
+ "object 0.38.1",
"pulley-interpreter",
"smallvec 1.15.1",
"target-lexicon",
@@ -4940,7 +4949,7 @@ name = "wasmtime-internal-jit-debug"
version = "43.0.0"
dependencies = [
"cc",
- "object 0.37.3",
+ "object 0.38.1",
"rustix 1.0.8",
"wasmtime-internal-versioned-export-macros",
]
@@ -4962,7 +4971,7 @@ dependencies = [
"cfg-if",
"cranelift-codegen",
"log",
- "object 0.37.3",
+ "object 0.38.1",
"wasmtime-environ",
]
@@ -4982,7 +4991,7 @@ dependencies = [
"cranelift-codegen",
"gimli 0.33.0",
"log",
- "object 0.37.3",
+ "object 0.38.1",
"target-lexicon",
"wasmparser 0.244.0",
"wasmtime-environ",
@@ -5216,7 +5225,7 @@ version = "43.0.0"
dependencies = [
"json-from-wast",
"log",
- "object 0.37.3",
+ "object 0.38.1",
"serde_json",
"tokio",
"wasmparser 0.244.0",
diff --git a/Cargo.toml b/Cargo.toml
index 7c2799e56a..3973418b6a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -362,7 +362,7 @@ arbitrary = "1.4.2"
backtrace = "0.3.75"
mutatis = "0.3.2"
cc = "1.2.41"
-object = { version = "0.37.3", default-features = false, features = ['read_core', 'elf'] }
+object = { version = "0.38.1", default-features = false, features = ['read_core', 'elf'] }
gimli = { version = "0.33.0", default-features = false, features = ['read'] }
addr2line = { version = "0.26.0", default-features = false }
anyhow = { version = "1.0.100", default-features = false }
@@ -372,7 +372,7 @@ env_logger = "0.11.5"
log = { version = "0.4.28", default-features = false }
clap = { version = "4.5.48", default-features = false, features = ["std", "derive"] }
clap_complete = "4.5.58"
-hashbrown = { version = "0.15", default-features = false }
+hashbrown = { version = "0.16", default-features = false }
capstone = "0.13.0"
smallvec = { version = "1.15.1", features = ["union"] }
tracing = { version = "0.1.41", default-features = false }
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index e5264b0e65..10a397e2fc 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -3946,6 +3946,11 @@ criteria = "safe-to-deploy"
delta = "0.37.1 -> 0.37.3"
notes = "Lots of new support for new object features, no new unsafe or anything suspicious."
+[[audits.object]]
+who = "Nick Fitzgerald <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.37.3 -> 0.38.1"
+
[[audits.once_cell]]
who = "Chris Fallin <[email protected]>"
criteria = "safe-to-deploy"
diff --git a/supply-chain/imports.lock b/supply-chain/imports.lock
index 9e94c488d4..eeb3e3db45 100644
--- a/supply-chain/imports.lock
+++ b/supply-chain/imports.lock
@@ -2032,6 +2032,20 @@ that the RNG here is not cryptographically secure.
"""
aggregated-from = "https://chromium.googlesource.com/chromiumos/third_party/rust_crates/+/refs/heads/main/cargo-vet/audits.toml?format=TEXT"
+[[audits.google.audits.foldhash]]
+who = "Adrian Taylor <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.1.3 -> 0.1.4"
+notes = "No changes to safety-relevant code"
+aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"
+
+[[audits.google.audits.foldhash]]
+who = "Chris Palmer <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.1.4 -> 0.1.5"
+notes = "No new `unsafe`."
+aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"
+
[[audits.google.audits.itertools]]
who = "ChromeOS"
criteria = "safe-to-run"
@@ -2616,6 +2630,12 @@ version = "1.0.7"
notes = "Simple hasher implementation with no unsafe code."
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
+[[audits.mozilla.audits.foldhash]]
+who = "Erich Gubler <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.1.5 -> 0.2.0"
+aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
+
[[audits.mozilla.audits.form_urlencoded]]
who = "Valentin Gosu <[email protected]>"
criteria = "safe-to-deploy"