Skip to content

Commit 5e6e140

Browse files
committedMar 4, 2024
Add regression ui test for duplicated path in dylib error
1 parent 640e99c commit 5e6e140

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//@ only-linux
2+
//@ compile-flags: -Zcodegen-backend=/non-existing-one.so
3+
4+
// This test ensures that the error of the "not found dylib" doesn't duplicate
5+
// the path of the dylib.
6+
7+
fn main() {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
error: couldn't load codegen backend /non-existing-one.so: cannot open shared object file: No such file or directory
2+

0 commit comments

Comments
 (0)