diff options
| author | Integral <integral@member.fsf.org> | 2024-12-18 00:28:34 +0800 |
|---|---|---|
| committer | Integral <integral@member.fsf.org> | 2024-12-18 00:28:34 +0800 |
| commit | 7eb0d8442444897395d5ac167860f710a2842205 (patch) | |
| tree | 6866058996d0f57706f82d6c2651e1f42d07fc2e /src/tools/rustc-perf-wrapper | |
| parent | 978c659b72ed7520332a74321dc8accf48b06d94 (diff) | |
refactor: replace &PathBuf with &Path to enhance generality
Diffstat (limited to 'src/tools/rustc-perf-wrapper')
| -rw-r--r-- | src/tools/rustc-perf-wrapper/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustc-perf-wrapper/src/main.rs b/src/tools/rustc-perf-wrapper/src/main.rs index 951d36b788b..0b4c894e29d 100644 --- a/src/tools/rustc-perf-wrapper/src/main.rs +++ b/src/tools/rustc-perf-wrapper/src/main.rs @@ -163,7 +163,7 @@ fn apply_shared_opts(cmd: &mut Command, opts: &SharedOpts) { } } -fn execute_benchmark(cmd: &mut Command, compiler: &PathBuf) { +fn execute_benchmark(cmd: &mut Command, compiler: &Path) { cmd.arg(compiler); println!("Running `rustc-perf` using `{}`", compiler.display()); |
