Skip to content

Commit 3198f34

Browse files
committed
Change build.rs to use the older : rather than ::
This allows supporting Rust < 1.77.
1 parent 6278178 commit 3198f34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.rs

+3-3
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)