File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ fn main() {
39
39
fn find_lld_version_in_logs ( output : & Output ) -> bool {
40
40
let lld_version_re = Regex :: new ( r"^LLD [0-9]+\.[0-9]+\.[0-9]+" ) . unwrap ( ) ;
41
41
let stderr = std:: str:: from_utf8 ( & output. stderr ) . unwrap ( ) ;
42
- stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line) )
42
+ stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line. trim ( ) ) )
43
43
}
Original file line number Diff line number Diff line change @@ -47,5 +47,5 @@ fn main() {
47
47
fn find_lld_version_in_logs ( output : & Output ) -> bool {
48
48
let lld_version_re = Regex :: new ( r"^LLD [0-9]+\.[0-9]+\.[0-9]+" ) . unwrap ( ) ;
49
49
let stderr = std:: str:: from_utf8 ( & output. stderr ) . unwrap ( ) ;
50
- stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line) )
50
+ stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line. trim ( ) ) )
51
51
}
Original file line number Diff line number Diff line change @@ -61,5 +61,5 @@ fn main() {
61
61
fn find_lld_version_in_logs ( output : & Output ) -> bool {
62
62
let lld_version_re = Regex :: new ( r"^LLD [0-9]+\.[0-9]+\.[0-9]+" ) . unwrap ( ) ;
63
63
let stderr = std:: str:: from_utf8 ( & output. stderr ) . unwrap ( ) ;
64
- stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line) )
64
+ stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line. trim ( ) ) )
65
65
}
You can’t perform that action at this time.
0 commit comments