Skip to content
Myr

Change argument order

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent d27cbce · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:src/benchmark/executor.rs+5 added-5 removed
65 unmodified lines
66 let (stdout, stderr) = self.options.command_output_policy.get_stdout_stderr();6768 let mut command_builder = self.shell.command();69 command_builder70 .arg(if cfg!(windows) { "/C" } else { "-c" })71 .arg(command.get_command_line())70 .stdin(Stdio::null())71 .stdout(stdout)72 .stderr(stderr)73 .env(74 "HYPERFINE_RANDOMIZED_ENVIRONMENT_OFFSET",75 randomized_environment_offset::value(),76 )76 .stdin(Stdio::null())77 .stdout(stdout)78 .stderr(stderr);77 .arg(if cfg!(windows) { "/C" } else { "-c" })78 .arg(command.get_command_line());7980 let wallclock_timer = WallClockTimer::start();81 let result = execute_and_measure(command_builder)82 .with_context(|| format!("Failed to run command '{}'", command.get_command_line()))?;
164 unmodified lines