diff --git a/Cargo.toml b/Cargo.toml index 61b786f..04f8354 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "generator" version = "0.8.3" edition = "2021" -rust-version = "1.77" +rust-version = "1.73" authors = ["Xudong Huang <huangxu008@hotmail.com>"] license = "MIT/Apache-2.0" repository = "https://github.com/Xudong-Huang/generator-rs.git" diff --git a/build.rs b/build.rs index 120f911..64a33c8 100644 --- a/build.rs +++ b/build.rs @@ -5,8 +5,8 @@ const NIGHTLY: bool = true; const NIGHTLY: bool = false; fn main() { - println!("cargo::rustc-check-cfg=cfg(nightly)"); + println!("cargo:rustc-check-cfg=cfg(nightly)"); if NIGHTLY { - println!("cargo::rustc-cfg=nightly"); + println!("cargo:rustc-cfg=nightly"); } }