File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -966,19 +966,15 @@ fn main_result() -> anyhow::Result<i32> {
966
966
967
967
let pool = database:: Pool :: open ( & db. db ) ;
968
968
969
- match next {
969
+ let res = match next {
970
970
NextArtifact :: Release ( tag) => {
971
971
let toolchain = create_toolchain_from_published_version ( & tag, & target_triple) ?;
972
- let res = bench_published_artifact (
972
+ bench_published_artifact (
973
973
rt. block_on ( pool. connection ( ) ) ,
974
974
& mut rt,
975
975
toolchain,
976
976
& benchmark_dirs,
977
- ) ;
978
-
979
- client. post ( format ! ( "{}/perf/onpush" , site_url) ) . send ( ) ?;
980
-
981
- res?;
977
+ )
982
978
}
983
979
NextArtifact :: Commit {
984
980
commit,
@@ -1034,20 +1030,17 @@ fn main_result() -> anyhow::Result<i32> {
1034
1030
toolchain,
1035
1031
} ;
1036
1032
1037
- let res = run_benchmarks (
1033
+ run_benchmarks (
1038
1034
& mut rt,
1039
1035
conn,
1040
1036
shared,
1041
1037
Some ( compile_config) ,
1042
1038
Some ( runtime_config) ,
1043
- ) ;
1044
-
1045
- client. post ( format ! ( "{}/perf/onpush" , site_url) ) . send ( ) ?;
1046
-
1047
- res?;
1039
+ )
1048
1040
}
1049
- }
1050
-
1041
+ } ;
1042
+ client. post ( format ! ( "{}/perf/onpush" , site_url) ) . send ( ) ?;
1043
+ res?;
1051
1044
Ok ( 0 )
1052
1045
}
1053
1046
You can’t perform that action at this time.
0 commit comments