Skip to content

Commit a0f5ed9

Browse files
committed
Rollup merge of rust-lang#22869 - alexcrichton:stabilize-env, r=aturon
Now that the `std::env` module has had some time to bake this commit marks most of its APIs as `#[stable]`. Some notable APIs that are **not** stable (and still use the same `env` feature gate) are: * `{set,get}_exit_status` - there are still questions about whether this is the right interface for setting/getting the exit status of a process. * `page_size` - this may change location in the future or perhaps name as well. This also effectively closes rust-lang#22122 as the variants of `VarError` are `#[stable]` now. (this is done intentionally)
2 parents 6f8d831 + ad14891 commit a0f5ed9

File tree

11 files changed

+86
-193
lines changed

11 files changed

+86
-193
lines changed

src/compiletest/compiletest.rs

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#![feature(std_misc)]
2121
#![feature(test)]
2222
#![feature(unicode)]
23-
#![feature(env)]
2423
#![feature(core)]
2524

2625
#![deny(warnings)]

src/liblog/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@
174174
#![feature(core)]
175175
#![feature(old_io)]
176176
#![feature(std_misc)]
177-
#![feature(env)]
178177

179178
use std::boxed;
180179
use std::cell::RefCell;

src/librustc/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#![feature(int_uint)]
3232
#![feature(old_io)]
3333
#![feature(libc)]
34-
#![feature(env)]
3534
#![feature(old_path)]
3635
#![feature(quote)]
3736
#![feature(rustc_diagnostic_macros)]

src/librustc_back/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#![feature(old_path)]
4141
#![feature(rustc_private)]
4242
#![feature(staged_api)]
43-
#![feature(env)]
4443
#![feature(path)]
4544

4645
extern crate syntax;

src/librustc_driver/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#![feature(box_syntax)]
2727
#![feature(collections)]
2828
#![feature(core)]
29-
#![feature(env)]
3029
#![feature(int_uint)]
3130
#![feature(old_io)]
3231
#![feature(libc)]
@@ -38,6 +37,7 @@
3837
#![feature(unsafe_destructor)]
3938
#![feature(staged_api)]
4039
#![feature(unicode)]
40+
#![feature(exit_status)]
4141

4242
extern crate arena;
4343
extern crate flate;

src/librustc_trans/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#![feature(core)]
3131
#![feature(int_uint)]
3232
#![feature(old_io)]
33-
#![feature(env)]
3433
#![feature(libc)]
3534
#![feature(old_path)]
3635
#![feature(quote)]

src/librustdoc/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#![feature(box_syntax)]
2323
#![feature(collections)]
2424
#![feature(core)]
25-
#![feature(env)]
25+
#![feature(exit_status)]
2626
#![feature(int_uint)]
2727
#![feature(old_io)]
2828
#![feature(libc)]

0 commit comments

Comments
 (0)