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 6 replies

Comment options

You must be logged in to vote
6 replies
@sujeetkalaskar
Comment options

@FabianLars
Comment options

@sujeetkalaskar
Comment options

@fal3n-4ngel
Comment options

@FabianLars
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
4 participants