Skip to content
Myr

cfg: adding more pre-processing for windows-only parser

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

authored by Pedro Witzel · committed by David Peter · parent c2f99e5 · Browse files · 1 file+1 added−0 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+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/benchmark/executor.rs+1 added
139 unmodified lines
140 command_builder.arg(if on_windows_cmd { "/C" } else { "-c" });141142 // Windows needs special treatment for its behavior on parsing cmd arguments143 if on_windows_cmd {144 #[cfg(windows)]145 command_builder.raw_arg(command.get_command_line());146 } else {147 command_builder.arg(command.get_command_line());148 }
154 unmodified lines