Skip to content

Commit efeec7f

Browse files
authored
Fix minimal-fltk example release builds with Rust 1.56.0 (#216)
- See rust-lang/rust#88576
1 parent 2c98dc3 commit efeec7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/minimal-fltk/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ struct World {
1919
}
2020

2121
fn main() -> Result<(), Error> {
22+
#[cfg(debug_assertions)]
2223
env_logger::init();
24+
2325
let app = app::App::default();
2426
let mut win = Window::default()
2527
.with_size(WIDTH as i32, HEIGHT as i32)

0 commit comments

Comments
 (0)