Skip to content

Commit 8b92619

Browse files
committed
Allow LLD version info to be either stderr or stdout
1 parent 7407c12 commit 8b92619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/rust-lld/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ fn main() {
5555

5656
fn find_lld_version_in_logs(stderr: String) -> bool {
5757
let lld_version_re =
58-
Regex::new(r"^warning: linker stdout: LLD [0-9]+\.[0-9]+\.[0-9]+").unwrap();
58+
Regex::new(r"^warning: linker std(out|err): LLD [0-9]+\.[0-9]+\.[0-9]+").unwrap();
5959
stderr.lines().any(|line| lld_version_re.is_match(line.trim()))
6060
}

0 commit comments

Comments
 (0)