Skip to content

Commit

Permalink
Disable windows console in release builds (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett authored Jul 26, 2024
1 parent ea85ce3 commit 43d69fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// disable console on windows for release builds
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

#[cfg(feature = "debugdump")]
use std::{fs::File, io::Write};

Expand Down

0 comments on commit 43d69fc

Please sign in to comment.