Skip to content

Commit 5ce8400

Browse files
authored
Merge pull request #2406 from Kobzol/change-perf-split
Use space separator for pre-perf command
2 parents 566f362 + 50deb10 commit 5ce8400

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

collector/src/bin/collector.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,8 +1534,7 @@ async fn run_benchmark_job(
15341534
// Command launched before a benchmark suite. Useful to run an external root helper
15351535
// that brings the system in a consistent state.
15361536
if let Ok(pre_run) = std::env::var("RUSTC_PERF_PRE_RUN_COMMAND") {
1537-
// split by ascii unit separator
1538-
let commandline = pre_run.split('\x1f').collect::<Vec<_>>();
1537+
let commandline = pre_run.split(' ').collect::<Vec<_>>();
15391538
let mut cmd = tokio::process::Command::new(commandline[0]);
15401539
cmd.args(&commandline[1..]);
15411540
cmd.status().await.map_err(|error| {

0 commit comments

Comments
 (0)