fix: totally fix rustc version check
C-style shit syntax
This commit is contained in:
7
sdgb-cli/build.rs
Normal file
7
sdgb-cli/build.rs
Normal 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user