Require 1
instead of boolean for PACWRAP_SCHEMA_BUILT
This commit is contained in:
parent
3c685c617a
commit
e8acbc5ea8
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ fn is_debug() -> bool {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let built = var("PACWRAP_SCHEMA_BUILT").is_ok_and(|s| s.parse().unwrap_or(false));
|
||||
let built = var("PACWRAP_SCHEMA_BUILT").is_ok_and(|s| s == "1");
|
||||
|
||||
if !cfg!(target_os = "linux") || !cfg!(target_family = "unix") {
|
||||
panic!("Unsupported build target. Please refer to the build documentation for further information.")
|
||||
|
|
Loading…
Reference in a new issue