mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-26 21:50:26 +00:00
2a05cf3225
Replaces #571.
10 lines
263 B
Rust
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)");
|
|
}
|