Skip to content

Rollup of 12 pull requests #41041

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

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3fa28cc
Add a note about overflow for fetch_add/fetch_sub
Mar 30, 2017
2946c41
More consistent wording
Mar 30, 2017
d7b3f05
Improve some docs for VecDeque
Mar 31, 2017
44d8b23
Updating the description for BarrierWaitResult #29377
projektir Mar 31, 2017
1e2a61d
Change wording for push_front
Apr 1, 2017
5198072
Added links to from_utf8 methods in Utf8Error
donniebishop Apr 1, 2017
d8fb322
Clean up std::ascii sub-level docs.
Apr 1, 2017
a5d775d
Add more std::ascii module-level docs.
Apr 1, 2017
34cf288
rustc: Stabilize the `#![windows_subsystem]` attribute
alexcrichton Mar 20, 2017
364241c
Added links to types in from_utf8 description
donniebishop Apr 1, 2017
128a313
Improve docs of core::option::IntoIter
irfanhudda Apr 1, 2017
029ace4
Improve docs of core::option::IterMut
irfanhudda Apr 1, 2017
c414628
Improve docs of core::option::Iter
irfanhudda Apr 1, 2017
4c9f8ae
Minor changes to core::option docs
irfanhudda Apr 2, 2017
ff4febf
Improve documentation for `std::fs::DirBuilder`
pgerber Apr 1, 2017
509ef4c
std::thread docs: fix link to current()
SimonSapin Apr 2, 2017
9c1b7ae
Revert "Implement AsRawFd/IntoRawFd for RawFd"
codyps Apr 3, 2017
e7c2160
Fix mutex's docs inconsistency
GuillaumeGomez Mar 17, 2017
1510786
Rollup merge of #40608 - GuillaumeGomez:mutex-doc-inconsistency, r=st…
frewsxcv Apr 3, 2017
3b1f3f0
Rollup merge of #40870 - alexcrichton:stabilize-windows-subsystem, r=…
frewsxcv Apr 3, 2017
c2b860e
Rollup merge of #40927 - stjepang:docs-atomic-overflow-note, r=alexcr…
frewsxcv Apr 3, 2017
391b8b6
Rollup merge of #40949 - stjepang:fix-vecdeque-docs, r=frewsxcv
frewsxcv Apr 3, 2017
7c3f92b
Rollup merge of #40977 - projektir:BarrierWaitResult_doc, r=steveklabnik
frewsxcv Apr 3, 2017
b29de46
Rollup merge of #40988 - eugene-bulkin:ascii-docs, r=frewsxcv
frewsxcv Apr 3, 2017
da961f2
Rollup merge of #40992 - donniebishop:utf8err_linking, r=alexcrichton
frewsxcv Apr 3, 2017
8f4c789
Rollup merge of #40997 - donniebishop:from_utf8_linking, r=steveklabnik
frewsxcv Apr 3, 2017
5046350
Rollup merge of #40999 - irfanhudda:improve-option-docs, r=steveklabnik
frewsxcv Apr 3, 2017
cd9b677
Rollup merge of #41007 - pgerber:dir_builder, r=frewsxcv
frewsxcv Apr 3, 2017
431cb87
Rollup merge of #41014 - SimonSapin:patch-6, r=frewsxcv
frewsxcv Apr 3, 2017
57d7787
Rollup merge of #41035 - jmesmon:revert-bad-raw-fd-impls, r=aturon
frewsxcv Apr 3, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rustc: Stabilize the #![windows_subsystem] attribute
This commit stabilizes the `#![windows_subsystem]` attribute which is a
conservative exposure of the `/SUBSYSTEM` linker flag on Widnows platforms. This
is useful for creating applications as well as console programs.

Closes #37499
  • Loading branch information
alexcrichton committed Apr 1, 2017
commit 34cf28826f380fde33fedf377c1540e12d3b13a0
1 change: 0 additions & 1 deletion src/doc/unstable-book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,4 @@
- [windows_handle](windows-handle.md)
- [windows_net](windows-net.md)
- [windows_stdio](windows-stdio.md)
- [windows_subsystem](windows-subsystem.md)
- [zero_one](zero-one.md)
10 changes: 0 additions & 10 deletions src/doc/unstable-book/src/windows-subsystem.md

This file was deleted.

12 changes: 3 additions & 9 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,6 @@ declare_features! (
// Allows attributes on lifetime/type formal parameters in generics (RFC 1327)
(active, generic_param_attrs, "1.11.0", Some(34761)),

// The #![windows_subsystem] attribute
(active, windows_subsystem, "1.14.0", Some(37499)),

// Allows #[link(..., cfg(..))]
(active, link_cfg, "1.14.0", Some(37406)),

Expand Down Expand Up @@ -408,7 +405,8 @@ declare_features! (
(accepted, static_recursion, "1.17.0", Some(29719)),
// pub(restricted) visibilities (RFC 1422)
(accepted, pub_restricted, "1.17.0", Some(32409)),

// The #![windows_subsystem] attribute
(accepted, windows_subsystem, "1.18.0", Some(37499)),
);
// If you change this, please modify src/doc/unstable-book as well. You must
// move that documentation into the relevant place in the other docs, and
Expand Down Expand Up @@ -768,11 +766,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
"unboxed_closures are still evolving",
cfg_fn!(unboxed_closures))),

("windows_subsystem", Whitelisted, Gated(Stability::Unstable,
"windows_subsystem",
"the windows subsystem attribute \
is currently unstable",
cfg_fn!(windows_subsystem))),
("windows_subsystem", Whitelisted, Ungated),

("proc_macro_attribute", Normal, Gated(Stability::Unstable,
"proc_macro",
Expand Down
16 changes: 0 additions & 16 deletions src/test/compile-fail/windows-subsystem-gated.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/test/compile-fail/windows-subsystem-invalid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

// error-pattern: invalid windows subsystem `wrong`, only `windows` and `console` are allowed

#![feature(windows_subsystem)]
#![windows_subsystem = "wrong"]

fn main() {}
1 change: 0 additions & 1 deletion src/test/run-make/windows-subsystem/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(windows_subsystem)]
#![windows_subsystem = "console"]

fn main() {}
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make/windows-subsystem/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(windows_subsystem)]
#![windows_subsystem = "windows"]

fn main() {}