Skip to content

Commit 9083ad6

Browse files
committed
std::process: Remove helper function pwd_cmd from test module
The test that used it was removed in 700e627.
1 parent 1d00028 commit 9083ad6

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/libstd/process.rs

-18
Original file line numberDiff line numberDiff line change
@@ -737,24 +737,6 @@ mod tests {
737737
}
738738
}
739739

740-
#[cfg(all(unix, not(target_os="android")))]
741-
pub fn pwd_cmd() -> Command {
742-
Command::new("pwd")
743-
}
744-
#[cfg(target_os="android")]
745-
pub fn pwd_cmd() -> Command {
746-
let mut cmd = Command::new("/system/bin/sh");
747-
cmd.arg("-c").arg("pwd");
748-
cmd
749-
}
750-
751-
#[cfg(windows)]
752-
pub fn pwd_cmd() -> Command {
753-
let mut cmd = Command::new("cmd");
754-
cmd.arg("/c").arg("cd");
755-
cmd
756-
}
757-
758740
#[cfg(all(unix, not(target_os="android")))]
759741
pub fn env_cmd() -> Command {
760742
Command::new("env")

0 commit comments

Comments
 (0)