Skip to content

Commit 37faaf2

Browse files
committed
Mention target_has_atomic stabilization
1 parent 650358f commit 37faaf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

serde/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ fn main() {
9292
println!("cargo:rustc-cfg=no_relaxed_trait_bounds");
9393
}
9494

95+
// Support for #[cfg(target_has_atomic = "...")] stabilized in Rust 1.60.
9596
if minor < 60 {
9697
println!("cargo:rustc-cfg=no_target_has_atomic");
9798
// Allowlist of archs that support std::sync::atomic module. This is

0 commit comments

Comments
 (0)