Skip to content

Commit 62ad16f

Browse files
committed
Fix linkage-attr/issue-10755.rs ui test on WSL
It checked for a "not found", but on WSL with appendWindowsPath=true, PermissionDenied is the error instead.
1 parent 29cfefd commit 62ad16f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// build-fail
22
// dont-check-compiler-stderr
33
// compile-flags: -C linker=llllll -C linker-flavor=ld
4-
// error-pattern: linker `llllll` not found
4+
// error-pattern: `llllll`
5+
6+
// Before, the error-pattern checked for "not found". On WSL with appendWindowsPath=true, running
7+
// in invalid command returns a PermissionDenied instead.
58

69
fn main() {
710
}

0 commit comments

Comments
 (0)