File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1166,9 +1166,8 @@ impl Benchmark {
1166
1166
}
1167
1167
}
1168
1168
1169
- patches. sort ( ) ;
1170
-
1171
- let patches = patches. into_iter ( ) . map ( |p| Patch :: new ( p) ) . collect ( ) ;
1169
+ let mut patches: Vec < _ > = patches. into_iter ( ) . map ( |p| Patch :: new ( p) ) . collect ( ) ;
1170
+ patches. sort_by_key ( |p| p. index ) ;
1172
1171
1173
1172
let config_path = path. join ( "perf-config.json" ) ;
1174
1173
let config: BenchmarkConfig = if config_path. exists ( ) {
Original file line number Diff line number Diff line change 1
1
use anyhow:: { anyhow, Context } ;
2
- use chrono:: { DateTime , Utc } ;
3
2
use std:: fmt;
4
3
use std:: fs:: { self , File } ;
5
4
use std:: io:: { BufReader , Read } ;
6
5
use std:: path:: PathBuf ;
7
6
use tar:: Archive ;
8
7
use xz2:: bufread:: XzDecoder ;
9
8
10
- #[ derive( Debug , Clone ) ]
11
- struct Commit {
12
- sha : String ,
13
- date : DateTime < Utc > ,
14
- }
15
-
16
9
pub struct Sysroot {
17
10
pub sha : String ,
18
11
pub rustc : PathBuf ,
You can’t perform that action at this time.
0 commit comments