We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5165499 + 2f66039 commit 9e46a30Copy full SHA for 9e46a30
src/attributes.md
@@ -64,6 +64,15 @@ type int8_t = i8;
64
infinitely-recursive compile-time operations like
65
auto-dereference or macro expansion. The default is
66
`#![recursion_limit="64"]`.
67
+- `windows_subsystem` - Indicates that when this crate is linked for a Windows
68
+ target it will configure the resulting binary's
69
+ [subsystem] via the linker. Valid values for this
70
+ attribute are `console` and `windows`, corresponding to
71
+ those two respective subsystems. More subsystems may be
72
+ allowed in the future, and this attribute is ignored on
73
+ non-Windows targets.
74
+
75
+[subsystem]: https://msdn.microsoft.com/en-us/library/fcc1zstk.aspx
76
77
### Module-only attributes
78
0 commit comments