fix: totally fix rustc version check

C-style shit syntax
This commit is contained in:
mokurin000
2025-07-31 20:02:46 +08:00
parent 6cb1dcefe8
commit 789d46991d
4 changed files with 22 additions and 14 deletions

7
sdgb-cli/build.rs Normal file
View File

@@ -0,0 +1,7 @@
fn main() {
println!("cargo::rustc-check-cfg=cfg(file_lock_ready)");
if version_check::is_min_version("1.89") == Some(true) {
println!("cargo:rustc-cfg=file_lock_ready");
}
}