From e5e0a2224c84f15d7f3f89df6fe263a746ea1f96 Mon Sep 17 00:00:00 2001 From: Ashwin Naren Date: Sat, 10 May 2025 11:13:30 -0700 Subject: [PATCH] Bump libffi Also remove system feature from jit libffi, as that forces libffi to be installed on the system --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- jit/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0255535c1b..7bdcc30c5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1336,9 +1336,9 @@ checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" [[package]] name = "libffi" -version = "3.2.0" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce826c243048e3d5cec441799724de52e2d42f820468431fc3fceee2341871e2" +checksum = "ebfd30a67b482a08116e753d0656cb626548cf4242543e5cc005be7639d99838" dependencies = [ "libc", "libffi-sys", @@ -1346,9 +1346,9 @@ dependencies = [ [[package]] name = "libffi-sys" -version = "2.3.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36115160c57e8529781b4183c2bb51fdc1f6d6d1ed345591d84be7703befb3c" +checksum = "533b573e9409458c66dc2bd2a2daed08c30388ea7426d368b9b051e92c486b25" dependencies = [ "cc", ] diff --git a/Cargo.toml b/Cargo.toml index fb066e5dfd..b4847be5a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -168,7 +168,7 @@ itertools = "0.14.0" is-macro = "0.3.7" junction = "1.2.0" libc = "0.2.169" -libffi = "3.2" +libffi = "4.1" log = "0.4.27" nix = { version = "0.29", features = ["fs", "user", "process", "term", "time", "signal", "ioctl", "socket", "sched", "zerocopy", "dir", "hostname", "net", "poll"] } malachite-bigint = "0.5" diff --git a/jit/Cargo.toml b/jit/Cargo.toml index 0c7f39af07..14c90cd545 100644 --- a/jit/Cargo.toml +++ b/jit/Cargo.toml @@ -15,7 +15,7 @@ rustpython-compiler-core = { workspace = true } num-traits = { workspace = true } thiserror = { workspace = true } -libffi = { workspace = true, features = ["system"] } +libffi = { workspace = true } cranelift = "0.118" cranelift-jit = "0.118"