Rename environment variables

This commit is contained in:
Tobias Hunger 2022-02-02 13:35:07 +01:00
parent cc3994b58d
commit 1a0a495bc5
No known key found for this signature in database
GPG key ID: 60874021D2F23F91
18 changed files with 34 additions and 34 deletions

View file

@ -89,12 +89,12 @@ impl CompilerConfiguration {
}
};
let inline_all_elements = match std::env::var("SIXTYFPS_INLINING") {
Ok(var) => {
var.parse::<bool>().unwrap_or_else(|_|{
panic!("SIXTYFPS_INLINING has incorrect value. Must be either unset, 'true' or 'false'")
})
}
let inline_all_elements = match std::env::var("SLINT_INLINING") {
Ok(var) => var.parse::<bool>().unwrap_or_else(|_| {
panic!(
"SLINT_INLINING has incorrect value. Must be either unset, 'true' or 'false'"
)
}),
// Currently, the interpreter needs the inlining to be on.
Err(_) => output_format == crate::generator::OutputFormat::Interpreter,
};