Skip to content

Commit 5b2d7b1

Browse files
committed
fix: re-disable debug console in release mode
1 parent 4a5ec10 commit 5b2d7b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn attach() {
3939
unsafe { suspend_all_threads() };
4040

4141
// Debug allocates a console window to display output
42-
// #[cfg(debug_assertions)]
42+
#[cfg(debug_assertions)]
4343
{
4444
unsafe { windows_sys::Win32::System::Console::AllocConsole() };
4545
}

0 commit comments

Comments
 (0)