parent
6fb4a4a43e
commit
944c6761f7
4 changed files with 6 additions and 6 deletions
|
|
@ -460,7 +460,7 @@ pub fn run<App: Application>(flags: App::Flags) -> iced::Result {
|
|||
let mut settings = helper.window_settings();
|
||||
settings.resizable = None;
|
||||
|
||||
#[cfg(target_env = "gnu")]
|
||||
#[cfg(all(target_env = "gnu", not(target_os = "windows")))]
|
||||
if let Some(threshold) = settings.default_mmap_threshold {
|
||||
crate::malloc::limit_mmap_threshold(threshold);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue