about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-11-04 16:49:29 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-11-05 10:50:23 -0700
commit8a38b24d952f0f13dbc436a68edb87a4b565f2e3 (patch)
tree7dbeab0c444ee524ac0c8a714342547e7be76c81 /src/test/run-pass/thinlto
parent1d41d5bd016fc619ef21a8629c935a8f331b6140 (diff)
parent20c301330cf17dd98c58aaff602586b99f7676fc (diff)
downloadrust-8a38b24d952f0f13dbc436a68edb87a4b565f2e3.tar.gz
rust-8a38b24d952f0f13dbc436a68edb87a4b565f2e3.zip
Rollup merge of #37501 - alexcrichton:windows-subsystem, r=brson
rustc: Add knowledge of Windows subsystems.

This commit is an implementation of [RFC 1665] which adds support for the
`#![windows_subsystem]` attribute. This attribute allows specifying either the
"windows" or "console" subsystems on Windows to the linker.

[RFC 1665]: https://github.com/rust-lang/rfcs/blob/master/text/1665-windows-subsystem.md

Previously all Rust executables were compiled as the "console" subsystem which
meant that if you wanted a graphical application it would erroneously pop up a
console whenever opened. When compiling an application, however, this is
undesired behavior and the "windows" subsystem is used instead to have control
over user interactions.

This attribute is validated, but ignored on all non-Windows platforms.

cc #37499
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions