We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fce337 + 32fc50e commit 87d3644Copy full SHA for 87d3644
src/runtime.md
@@ -63,6 +63,13 @@ the [subsystem] when linking on a Windows target. It uses the
63
`console` or `windows`. This attribute is ignored on non-Windows targets, and
64
for non-`bin` [crate types].
65
66
+The "console" subsystem is the default. If a console process is run from an
67
+existing console then it will be attached to that console, otherwise a new
68
+console window will be created.
69
+
70
+The "windows" subsystem is commonly used by GUI applications that do not want to
71
+display a console window on startup. It will run detached from any existing console.
72
73
```rust
74
#![windows_subsystem = "windows"]
75
```
0 commit comments