rust/compiler/rustc_session/src
Yuki Okushi fe27dea4b5
Rollup merge of #81468 - est31:cfg_version, r=petrochenkov
cfg(version): treat nightlies as complete

This PR makes cfg(version) treat the nightlies
for version 1.n.0 as 1.n.0, even though that nightly
version might not have all stabilizations and features
of the released 1.n.0. This is done for greater
convenience for people who want to test a newly
stabilized feature on nightly, or in other words,
give newly stabilized features as many eyeballs
as possible.

For users who wish to pin nightlies, this commit adds
a -Z assume-incomplete-release option that they can
enable if they run into any issues due to this change.
Implements the suggestion in https://github.com/rust-lang/rust/issues/64796#issuecomment-640851454
2021-01-30 13:36:50 +09:00
..
cgu_reuse_tracker.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Pre-canoncalize ExternLocation::ExactPaths 2021-01-29 11:02:12 +01:00
filesearch.rs where possible, pass slices instead of &Vec or &String (clippy::ptr_arg) 2020-12-30 13:11:52 +01:00
lib.rs Dogfood 'str_split_once() with compiler/ 2020-12-07 12:48:44 -07:00
options.rs Rollup merge of #81468 - est31:cfg_version, r=petrochenkov 2021-01-30 13:36:50 +09:00
output.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
parse.rs Treat nightlies for a version as complete 2021-01-29 07:59:19 +01:00
search_paths.rs use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
session.rs Rollup merge of #81468 - est31:cfg_version, r=petrochenkov 2021-01-30 13:36:50 +09:00
utils.rs Pre-canoncalize ExternLocation::ExactPaths 2021-01-29 11:02:12 +01:00