Skip to content

Commit

Permalink
Fix build error with MSRV and relax MSRV to 1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored and Xudong-Huang committed Sep 15, 2024
1 parent 4ce0042 commit a0d202a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "generator"
version = "0.8.3"
edition = "2021"
rust-version = "1.77"
rust-version = "1.73"
authors = ["Xudong Huang <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/Xudong-Huang/generator-rs.git"
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

0 comments on commit a0d202a

Please sign in to comment.