From 37faaf295e93fdebaf4eaa2719f2767614a00e5d Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 11 Dec 2022 15:56:31 -0800 Subject: [PATCH] Mention target_has_atomic stabilization --- serde/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde/build.rs b/serde/build.rs index ee0a3d826..4fab6ad0f 100644 --- a/serde/build.rs +++ b/serde/build.rs @@ -92,6 +92,7 @@ fn main() { println!("cargo:rustc-cfg=no_relaxed_trait_bounds"); } + // Support for #[cfg(target_has_atomic = "...")] stabilized in Rust 1.60. if minor < 60 { println!("cargo:rustc-cfg=no_target_has_atomic"); // Allowlist of archs that support std::sync::atomic module. This is