Alphabetize list of rustc-check-cfg

This commit is contained in:
David Tolnay 2024-07-06 10:30:46 -07:00
parent 8cc4809414
commit 58c307f9cc
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -17,6 +17,7 @@ fn main() {
println!("cargo:rustc-check-cfg=cfg(no_core_cstr)"); println!("cargo:rustc-check-cfg=cfg(no_core_cstr)");
println!("cargo:rustc-check-cfg=cfg(no_core_num_saturating)"); println!("cargo:rustc-check-cfg=cfg(no_core_num_saturating)");
println!("cargo:rustc-check-cfg=cfg(no_core_try_from)"); println!("cargo:rustc-check-cfg=cfg(no_core_try_from)");
println!("cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)");
println!("cargo:rustc-check-cfg=cfg(no_float_copysign)"); println!("cargo:rustc-check-cfg=cfg(no_float_copysign)");
println!("cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)"); println!("cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)");
println!("cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)"); println!("cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)");
@ -25,7 +26,6 @@ fn main() {
println!("cargo:rustc-check-cfg=cfg(no_std_atomic64)"); println!("cargo:rustc-check-cfg=cfg(no_std_atomic64)");
println!("cargo:rustc-check-cfg=cfg(no_systemtime_checked_add)"); println!("cargo:rustc-check-cfg=cfg(no_systemtime_checked_add)");
println!("cargo:rustc-check-cfg=cfg(no_target_has_atomic)"); println!("cargo:rustc-check-cfg=cfg(no_target_has_atomic)");
println!("cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)");
} }
let target = env::var("TARGET").unwrap(); let target = env::var("TARGET").unwrap();