From cf87ac61f67c63b6c05311a98fd7f6c6650ddb5f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 5 Oct 2024 03:02:41 +0900 Subject: [PATCH] Remove "portable-atomic?/require-cas" from race feature --- Cargo.lock.msrv | 4 ++-- Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock.msrv b/Cargo.lock.msrv index a4fc1af..0166276 100644 --- a/Cargo.lock.msrv +++ b/Cargo.lock.msrv @@ -66,9 +66,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.7.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" [[package]] name = "redox_syscall" diff --git a/Cargo.toml b/Cargo.toml index bb22eac..ef945f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ members = ["xtask"] [dependencies] parking_lot_core = { version = "0.9.10", optional = true, default-features = false } -portable-atomic = { version = "1.7", optional = true, default-features = false } +portable-atomic = { version = "1.8", optional = true, default-features = false } critical-section = { version = "1.1.3", optional = true } [dev-dependencies] @@ -38,7 +38,7 @@ std = ["alloc"] alloc = ["race"] # Enables `once_cell::race` module. -race = ["portable-atomic?/require-cas"] +race = [] # Uses parking_lot to implement once_cell::sync::OnceCell. # This makes no speed difference, but makes each OnceCell