We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c202084 commit 0e1e6a9Copy full SHA for 0e1e6a9
tests/tools/src/lib.rs
@@ -589,15 +589,11 @@ const NULL_DEVICE: &str = "NUL";
589
#[cfg(not(windows))]
590
const NULL_DEVICE: &str = "/dev/null";
591
592
-fn configure_command<'a, I, S>(
+fn configure_command<'a, I: IntoIterator<Item = S>, S: AsRef<OsStr>>(
593
cmd: &'a mut std::process::Command,
594
args: I,
595
script_result_directory: &Path,
596
-) -> &'a mut std::process::Command
597
-where
598
- I: IntoIterator<Item = S>,
599
- S: AsRef<OsStr>,
600
-{
+) -> &'a mut std::process::Command {
601
let mut msys_for_git_bash_on_windows = env::var_os("MSYS").unwrap_or_default();
602
msys_for_git_bash_on_windows.push(" winsymlinks:nativestrict");
603
cmd.args(args)
0 commit comments