diff --git a/c-scape/Cargo.toml b/c-scape/Cargo.toml index 2c181dc..3bf5879 100644 --- a/c-scape/Cargo.toml +++ b/c-scape/Cargo.toml @@ -23,7 +23,7 @@ rustix = { version = "0.38.33", default-features = false, features = ["event", " rustix-futex-sync = { version = "0.2.1", features = ["atomic_usize"] } memoffset = "0.9.0" realpath-ext = { version = "0.1.0", default-features = false } -origin = { version = "0.18.3", default-features = false, features = ["thread", "init-fini-arrays", "alloc"] } +origin = { version = "0.18.4", default-features = false, features = ["thread", "init-fini-arrays", "alloc"] } # We use the libc crate for C ABI types and constants, but we don't depend on # the actual platform libc. libc = { version = "0.2.138", default-features = false } diff --git a/c-scape/src/lib.rs b/c-scape/src/lib.rs index 394bee1..fd29d11 100644 --- a/c-scape/src/lib.rs +++ b/c-scape/src/lib.rs @@ -5,11 +5,11 @@ #![cfg_attr(feature = "use-compiler-builtins", feature(rustc_private))] #![feature(strict_provenance)] #![feature(exposed_provenance)] -#![feature(inline_const)] #![feature(sync_unsafe_cell)] #![feature(linkage)] #![feature(naked_functions)] #![deny(fuzzy_provenance_casts, lossy_provenance_casts)] +#![allow(unexpected_cfgs)] // Check that our features were used as we intend. #[cfg(all(feature = "coexist-with-libc", feature = "take-charge"))] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e51ce31..30a2c63 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2024-04-21" +channel = "nightly-2024-05-16" components = ["rustc", "cargo", "rust-std", "rust-src", "rustfmt"]