mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 12:29:41 +00:00
Rename environment variables
This commit is contained in:
parent
cc3994b58d
commit
1a0a495bc5
18 changed files with 34 additions and 34 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue