mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 09:07:57 +00:00
Mention target_has_atomic stabilization
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user