Skip to content

Commit 14c2f99

Browse files
committed
Stabilize Command::envs
Closes #38526
1 parent bc9822a commit 14c2f99

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/librustc_trans/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#![feature(rustc_diagnostic_macros)]
3535
#![feature(slice_patterns)]
3636
#![feature(conservative_impl_trait)]
37-
#![feature(command_envs)]
3837

3938
use rustc::dep_graph::WorkProduct;
4039
use syntax_pos::symbol::Symbol;

src/libstd/process.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,6 @@ impl Command {
447447
/// Basic usage:
448448
///
449449
/// ```no_run
450-
/// #![feature(command_envs)]
451-
///
452450
/// use std::process::{Command, Stdio};
453451
/// use std::env;
454452
/// use std::collections::HashMap;
@@ -466,7 +464,7 @@ impl Command {
466464
/// .spawn()
467465
/// .expect("printenv failed to start");
468466
/// ```
469-
#[unstable(feature = "command_envs", issue = "38526")]
467+
#[stable(feature = "command_envs", since = "1.19.0")]
470468
pub fn envs<I, K, V>(&mut self, vars: I) -> &mut Command
471469
where I: IntoIterator<Item=(K, V)>, K: AsRef<OsStr>, V: AsRef<OsStr>
472470
{

src/test/run-pass/process-envs.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
// ignore-emscripten
1212

13-
#![feature(command_envs)]
14-
1513
use std::process::Command;
1614
use std::env;
1715
use std::collections::HashMap;

0 commit comments

Comments
 (0)