diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-11-17 22:59:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 02:59:10 +0100 |
commit | 238590aa9fdfe2aac04bb96abad2f2d2feb3101a (patch) | |
tree | f8fa04e39baecb5460076c1329ca38ae31f440b6 /cli/bench/main.rs | |
parent | 483c10c94b8a5de49cee4c4b9a3ce74726501c8a (diff) |
chore: use Rust 1.65.0 (#16688)
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", |