rust/src
Alex Crichton 1282833470 rustc: Refactor how unstable flags are handled
This commit adds support for *truly* unstable options in the compiler, as well
as adding warnings for the start of the deprecation path of
unstable-but-not-really options. Specifically, the following behavior is now in
place for handling unstable options:

* As before, an unconditional error is emitted if an unstable option is passed
  and the `-Z unstable-options` flag is not present. Note that passing another
  `-Z` flag does not require passing `-Z unstable-options` as well.
* New flags added to the compiler will be in the `Unstable` category as opposed
  to the `UnstableButNotReally` category which means they will unconditionally
  emit an error when used on stable.
* All current flags are in a category where they will emit warnings when used
  that the option will soon be a hard error.

Also as before, it is intended that `-Z` is akin to `#![feature]` in a crate
where it is required to unlock unstable functionality. A nightly compiler which
is used without any `-Z` flags should only be exercising stable behavior.
2016-02-24 11:01:29 -08:00
..
bootstrap Auto merge of #31620 - alexcrichton:fix-out-of-tree-builds, r=brson 2016-02-20 08:47:25 +00:00
build_helper Add a Cargo-based build system 2016-02-11 10:42:28 -08:00
compiler-rt@b6087e82ba Update compiler-rt 2015-11-07 00:26:44 +08:00
compiletest Fix half of emscripten's failing tests 2016-02-10 10:28:51 +01:00
doc Fix number of lines and methods in guessing game 2016-02-20 17:00:54 -08:00
driver Run rustfmt on driver. 2015-10-11 23:41:43 -07:00
error_index_generator Rename error-index-generator to error_index_generator 2016-02-14 22:29:45 -08:00
etc mk: Tweak tidy script to work on Windows python 2016-02-23 17:52:26 -08:00
grammar Fix whitespace alignment 2015-12-24 21:39:38 -05:00
jemalloc@e24a1a025a Downgrade bundled jemalloc version 2016-01-20 09:38:16 -08:00
liballoc Fix liballoc dependencies 2016-02-21 15:32:43 +01:00
liballoc_jemalloc std: Prefix jemalloc symbols on iOS 2016-02-17 16:24:00 -08:00
liballoc_system bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libarena bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libbacktrace Minor spelling fixes 2016-02-09 11:52:39 -05:00
libcollections Auto merge of #31778 - aturon:snapshot, r=alexcrichton 2016-02-24 04:42:09 +00:00
libcollectionstest Implement Clone for std::vec::IntoIter 2016-02-17 17:43:54 +01:00
libcore Auto merge of #31778 - aturon:snapshot, r=alexcrichton 2016-02-24 04:42:09 +00:00
libcoretest Implement fmt::Pointer for pointers to unsized types 2016-02-08 14:08:19 -05:00
libflate bootstrap: Add directives to not double-link libs 2016-02-11 11:12:32 -08:00
libfmt_macros bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libgetopts bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libgraphviz bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
liblibc@16f1c190af Update libc to 16f1c19 2016-02-22 16:54:58 +01:00
liblog bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
librand bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
librbml bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
librustc rustc: Refactor how unstable flags are handled 2016-02-24 11:01:29 -08:00
librustc_back Auto merge of #31814 - petevine:master, r=alexcrichton 2016-02-23 05:17:08 +00:00
librustc_bitflags rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
librustc_borrowck Rollup merge of #31679 - GuillaumeGomez:long_error_explanation, r=Manishearth 2016-02-17 18:14:36 -05:00
librustc_data_structures [MIR] Change SimplifyCfg pass to use bitvec 2016-02-23 11:43:52 +02:00
librustc_driver rustc: Refactor how unstable flags are handled 2016-02-24 11:01:29 -08:00
librustc_front rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
librustc_lint Rename hir::Pat_ and its variants 2016-02-14 15:25:12 +03:00
librustc_llvm Auto merge of #30969 - Amanieu:extended_atomic_cmpxchg, r=alexcrichton 2016-02-22 19:10:13 +00:00
librustc_metadata Auto merge of #31811 - alexcrichton:clean-deps, r=sanxiyn 2016-02-22 05:20:39 +00:00
librustc_mir [MIR] Change SimplifyCfg pass to use bitvec 2016-02-23 11:43:52 +02:00
librustc_passes make *mut T -> *const T a coercion 2016-02-20 01:54:58 +02:00
librustc_platform_intrinsics bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
librustc_plugin rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
librustc_privacy Rollup merge of #31721 - rphmeier:err_tuplestruct_count, r=Manishearth 2016-02-19 14:23:28 -05:00
librustc_resolve Auto merge of #31811 - alexcrichton:clean-deps, r=sanxiyn 2016-02-22 05:20:39 +00:00
librustc_trans Auto merge of #30969 - Amanieu:extended_atomic_cmpxchg, r=alexcrichton 2016-02-22 19:10:13 +00:00
librustc_typeck Auto merge of #30969 - Amanieu:extended_atomic_cmpxchg, r=alexcrichton 2016-02-22 19:10:13 +00:00
librustc_unicode Fix to_lowercase example 2016-02-21 13:19:50 +02:00
librustdoc Auto merge of #31715 - mitaa:rdoc-index-crate, r=alexcrichton 2016-02-22 23:13:08 +00:00
libserialize Remove unnecessary explicit lifetime bounds. 2016-02-18 08:37:10 -05:00
libstd Auto merge of #31782 - pitdicker:clean_out_windows_c, r=alexcrichton 2016-02-24 07:21:44 +00:00
libsyntax Use associated functions for libsyntax SepSeq constructors. 2016-02-22 23:24:42 -05:00
libsyntax_ext Some refactoring in deriving/debug.rs 2016-02-23 03:01:24 +03:00
libterm rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
libtest bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
llvm@69ef168544 Another rebase on the 3.8 release branch of LLVM 2016-02-20 09:31:17 -08:00
rt Abort on stack overflow instead of re-raising SIGSEGV 2016-02-05 20:41:18 -05:00
rtstartup Register new snapshots 2015-12-21 09:26:21 -08:00
rust-installer@c37d3747da
rustbook rustbook: Make main a public function 2016-02-11 11:12:32 -08:00
rustc rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
rustllvm Auto merge of #30969 - Amanieu:extended_atomic_cmpxchg, r=alexcrichton 2016-02-22 19:10:13 +00:00
test Auto merge of #31822 - petrochenkov:derive, r=alexcrichton 2016-02-23 08:07:03 +00:00
nightlies.txt Add a Cargo-based build system 2016-02-11 10:42:28 -08:00
snapshots.txt Register new snapshots 2016-02-23 07:31:16 -08:00