Skip to content

Hide the cmd window after starting #4179

Answered by FabianLars
laurin asked this question in Q&A
Discussion options

You must be logged in to vote

This is what

#![cfg_attr(
    all(not(debug_assertions), target_os = "windows"),
    windows_subsystem = "windows"
)]

at the top of the generated main.rs is for.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@laurin
Comment options

@sujeetkalaskar
Comment options

@FabianLars
Comment options

@sujeetkalaskar
Comment options

Answer selected by laurin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants