Add regression ui test for duplicated path in dylib error · rust-lang/rust@5e6e140 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 5e6e140

Add regression ui test for duplicated path in dylib error

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff 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 number Diff line number Diff 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 +