makepad/libs/rapier/vendor/num-traits/build.rs
2026-03-15 09:52:45 +01:00

6 lines
290 B
Rust

fn main() {
// Our toolchain is new enough to always have `f64::total_cmp` (stable since 1.62).
// Keep the same cfg flag that upstream probes via autocfg, but without the dependency.
println!("cargo:rustc-cfg=has_total_cmp");
println!("cargo:rerun-if-changed=build.rs");
}