Skip to content

Commit eb40414

Browse files
Disable collecting self profile if --skip is passed
1 parent 4429eab commit eb40414

File tree

1 file changed

+1
-1
lines changed
  • collector/src/bin/rustc-perf-collector

1 file changed

+1
-1
lines changed

collector/src/bin/rustc-perf-collector/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ fn main_result() -> Result<i32, Error> {
458458
let exclude = matches.value_of("exclude");
459459
let benchmarks = get_benchmarks(&benchmark_dir, filter, exclude)?;
460460
let use_remote = matches.is_present("sync_git");
461-
let collect_self_profile = matches.is_present("skip_self_profile");
461+
let collect_self_profile = !matches.is_present("skip_self_profile");
462462

463463
let get_out_dir = || {
464464
let path = PathBuf::from(matches.value_of_os("output_repo").unwrap());

0 commit comments

Comments
 (0)