rust/tests/ui/codegen/duplicated-path-in-error.gnu.stderr
Jens Reidel ae1b1b4f8a
tests: Fix duplicated-path-in-error fail with musl
musl's dlopen returns a different error than glibc, which contains the
name of the file. This would cause the test to fail, since the filename
would appear twice in the output (once in the error from rustc, once in
the error message from musl). Split the expected test outputs for the
different libc implementations.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-07-14 18:37:49 +02:00

3 lines
118 B
Plaintext

error: couldn't load codegen backend /non-existing-one.so: cannot open shared object file: No such file or directory