Fix minimal-fltk
example release builds with Rust 1.56.0 (#216)
- See https://github.com/rust-lang/rust/issues/88576
This commit is contained in:
parent
2c98dc3f33
commit
efeec7f727
|
@ -19,7 +19,9 @@ struct World {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<(), Error> {
|
fn main() -> Result<(), Error> {
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
env_logger::init();
|
env_logger::init();
|
||||||
|
|
||||||
let app = app::App::default();
|
let app = app::App::default();
|
||||||
let mut win = Window::default()
|
let mut win = Window::default()
|
||||||
.with_size(WIDTH as i32, HEIGHT as i32)
|
.with_size(WIDTH as i32, HEIGHT as i32)
|
||||||
|
|
Loading…
Reference in a new issue