Skip to content

Commit

Permalink
Stabilize Command::envs
Browse files Browse the repository at this point in the history
Closes #38526
  • Loading branch information
sfackler committed Jun 25, 2017
1 parent bc9822a commit 14c2f99
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/librustc_trans/lib.rs
Expand Up @@ -34,7 +34,6 @@
#![feature(rustc_diagnostic_macros)]
#![feature(slice_patterns)]
#![feature(conservative_impl_trait)]
#![feature(command_envs)]

use rustc::dep_graph::WorkProduct;
use syntax_pos::symbol::Symbol;
Expand Down
4 changes: 1 addition & 3 deletions src/libstd/process.rs
Expand Up @@ -447,8 +447,6 @@ impl Command {
/// Basic usage:
///
/// ```no_run
/// #![feature(command_envs)]
///
/// use std::process::{Command, Stdio};
/// use std::env;
/// use std::collections::HashMap;
Expand All @@ -466,7 +464,7 @@ impl Command {
/// .spawn()
/// .expect("printenv failed to start");
/// ```
#[unstable(feature = "command_envs", issue = "38526")]
#[stable(feature = "command_envs", since = "1.19.0")]
pub fn envs<I, K, V>(&mut self, vars: I) -> &mut Command
where I: IntoIterator<Item=(K, V)>, K: AsRef<OsStr>, V: AsRef<OsStr>
{
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass/process-envs.rs
Expand Up @@ -10,8 +10,6 @@

// ignore-emscripten

#![feature(command_envs)]

use std::process::Command;
use std::env;
use std::collections::HashMap;
Expand Down

0 comments on commit 14c2f99

Please sign in to comment.