Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustc: Add knowledge of Windows subsystems. #37501

Merged
merged 1 commit into from
Nov 6, 2016

Commits on Oct 31, 2016

  1. 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 rust-lang#37499
    alexcrichton committed Oct 31, 2016
    Configuration menu
    Copy the full SHA
    20c3013 View commit details
    Browse the repository at this point in the history