File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub fn run() -> Result<(), String> {
31
31
Some ( "clones/abi-cafe" . as_ref ( ) ) ,
32
32
true ,
33
33
)
34
- . map_err ( |err| ( format ! ( "Git clone failed with message: {err:?}!" ) ) ) ?;
34
+ . map_err ( |err| format ! ( "Git clone failed with message: {err:?}!" ) ) ?;
35
35
// Configure abi-cafe to use the exact same rustc version we use - this is crucial.
36
36
// Otherwise, the concept of ABI compatibility becomes meanignless.
37
37
std:: fs:: copy ( "rust-toolchain" , "clones/abi-cafe/rust-toolchain" )
Original file line number Diff line number Diff line change @@ -43,18 +43,18 @@ pub fn run() -> Result<(), String> {
43
43
"--start" => {
44
44
start =
45
45
str:: parse ( & args. next ( ) . ok_or_else ( || "Fuzz start not provided!" . to_string ( ) ) ?)
46
- . map_err ( |err| ( format ! ( "Fuzz start not a number {err:?}!" ) ) ) ?;
46
+ . map_err ( |err| format ! ( "Fuzz start not a number {err:?}!" ) ) ?;
47
47
}
48
48
"--count" => {
49
49
count =
50
50
str:: parse ( & args. next ( ) . ok_or_else ( || "Fuzz count not provided!" . to_string ( ) ) ?)
51
- . map_err ( |err| ( format ! ( "Fuzz count not a number {err:?}!" ) ) ) ?;
51
+ . map_err ( |err| format ! ( "Fuzz count not a number {err:?}!" ) ) ?;
52
52
}
53
53
"-j" | "--jobs" => {
54
54
threads = str:: parse (
55
55
& args. next ( ) . ok_or_else ( || "Fuzz thread count not provided!" . to_string ( ) ) ?,
56
56
)
57
- . map_err ( |err| ( format ! ( "Fuzz thread count not a number {err:?}!" ) ) ) ?;
57
+ . map_err ( |err| format ! ( "Fuzz thread count not a number {err:?}!" ) ) ?;
58
58
}
59
59
_ => return Err ( format ! ( "Unknown option {arg}" ) ) ,
60
60
}
@@ -66,7 +66,7 @@ pub fn run() -> Result<(), String> {
66
66
Some ( "clones/rustlantis" . as_ref ( ) ) ,
67
67
true ,
68
68
)
69
- . map_err ( |err| ( format ! ( "Git clone failed with message: {err:?}!" ) ) ) ?;
69
+ . map_err ( |err| format ! ( "Git clone failed with message: {err:?}!" ) ) ?;
70
70
71
71
// Ensure that we are on the newest rustlantis commit.
72
72
let cmd: & [ & dyn AsRef < OsStr > ] = & [ & "git" , & "pull" , & "origin" ] ;
You can’t perform that action at this time.
0 commit comments