From a0d202ae5b3ebb7e9f5f79ad5ce832d1d5fb8455 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 15 Sep 2024 22:42:17 +0900 Subject: [PATCH] Fix build error with MSRV and relax MSRV to 1.73 --- Cargo.toml | 2 +- build.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 "] 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"); } }