Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 96707e0

Browse files
committed
Change build.rs to use the older : rather than ::
This allows supporting Rust < 1.77.
1 parent 0b35a7b commit 96707e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libm/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ use std::env;
22

33
fn main() {
44
println!("cargo:rerun-if-changed=build.rs");
5-
println!("cargo::rustc-check-cfg=cfg(assert_no_panic)");
6-
println!("cargo::rustc-check-cfg=cfg(feature, values(\"unstable\"))");
5+
println!("cargo:rustc-check-cfg=cfg(assert_no_panic)");
6+
println!("cargo:rustc-check-cfg=cfg(feature, values(\"unstable\"))");
77

8-
println!("cargo::rustc-check-cfg=cfg(feature, values(\"checked\"))");
8+
println!("cargo:rustc-check-cfg=cfg(feature, values(\"checked\"))");
99

1010
#[allow(unexpected_cfgs)]
1111
if !cfg!(feature = "checked") {

0 commit comments

Comments
 (0)