mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Remove support of old SIXTYFPS_ env variable, and sixtyfps_widgets.60
This commit is contained in:
parent
52fb1ab9fe
commit
a0fb8bc771
7 changed files with 7 additions and 53 deletions
|
@ -329,7 +329,7 @@ pub fn slint(stream: TokenStream) -> TokenStream {
|
|||
let mut compiler_config =
|
||||
CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Rust);
|
||||
|
||||
if std::env::var_os("SLINT_STYLE").is_none() && std::env::var_os("SIXTYFPS_STYLE").is_none() {
|
||||
if std::env::var_os("SLINT_STYLE").is_none() {
|
||||
// This file is written by the i-slint-backend-selector's built script.
|
||||
// It is in the target/xxx/build directory
|
||||
let target_path = match std::env::var_os("OUT_DIR") {
|
||||
|
@ -383,7 +383,6 @@ pub fn slint(stream: TokenStream) -> TokenStream {
|
|||
|
||||
result.extend(reload);
|
||||
result.extend(quote! {const _ : Option<&'static str> = ::core::option_env!("SLINT_STYLE");});
|
||||
result.extend(quote! {const _ : Option<&'static str> = ::core::option_env!("SIXTYFPS_STYLE");});
|
||||
|
||||
result.into()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue