serai/common/zalloc/build.rs
Luke Parker 2a05cf3225
June 2024 nightly update
Replaces #571.
2024-06-01 21:46:49 -04:00

10 lines
263 B
Rust

#[rustversion::nightly]
fn main() {
println!("cargo::rustc-check-cfg=cfg(zalloc_rustc_nightly)");
println!("cargo::rustc-cfg=zalloc_rustc_nightly");
}
#[rustversion::not(nightly)]
fn main() {
println!("cargo::rustc-check-cfg=cfg(zalloc_rustc_nightly)");
}