Skip to content

Commit feba393

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

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
@@ -769,24 +769,6 @@ mod tests {
769769
}
770770
}
771771

772-
#[cfg(all(unix, not(target_os="android")))]
773-
pub fn pwd_cmd() -> Command {
774-
Command::new("pwd")
775-
}
776-
#[cfg(target_os="android")]
777-
pub fn pwd_cmd() -> Command {
778-
let mut cmd = Command::new("/system/bin/sh");
779-
cmd.arg("-c").arg("pwd");
780-
cmd
781-
}
782-
783-
#[cfg(windows)]
784-
pub fn pwd_cmd() -> Command {
785-
let mut cmd = Command::new("cmd");
786-
cmd.arg("/c").arg("cd");
787-
cmd
788-
}
789-
790772
#[cfg(all(unix, not(target_os="android")))]
791773
pub fn env_cmd() -> Command {
792774
Command::new("env")

0 commit comments

Comments
 (0)