diff options
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r-- | cli/bench/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index e347d2e1c..c756c2c2e 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -343,7 +343,7 @@ fn run_max_mem_benchmark(deno_exe: &Path) -> Result<HashMap<String, i64>> { for (name, args, return_code) in EXEC_TIME_BENCHMARKS { let proc = Command::new("time") - .args(&["-v", deno_exe.to_str().unwrap()]) + .args(["-v", deno_exe.to_str().unwrap()]) .args(args.iter()) .stdout(Stdio::null()) .stderr(Stdio::piped()) @@ -501,7 +501,7 @@ async fn main() -> Result<()> { let mut file = secure_tempfile::NamedTempFile::new()?; let exit_status = Command::new("strace") - .args(&[ + .args([ "-c", "-f", "-o", |