diff options
| author | Jens Reidel <adrian@travitia.xyz> | 2025-06-10 18:36:22 +0200 |
|---|---|---|
| committer | Jens Reidel <adrian@travitia.xyz> | 2025-07-14 18:37:49 +0200 |
| commit | ae1b1b4f8a9a1cd012cd7db944bbfa2adae703cb (patch) | |
| tree | 845b35b9138c2e5bfe346d4918975bd69ae69bb1 /src/tools/compiletest | |
| parent | cccf075eba88363269e8589ebb8d40874cc542d8 (diff) | |
| download | rust-ae1b1b4f8a9a1cd012cd7db944bbfa2adae703cb.tar.gz rust-ae1b1b4f8a9a1cd012cd7db944bbfa2adae703cb.zip | |
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>
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/directives.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/directives.rs b/src/tools/compiletest/src/directives.rs index 215793fe947..e31f8f43e1b 100644 --- a/src/tools/compiletest/src/directives.rs +++ b/src/tools/compiletest/src/directives.rs @@ -973,6 +973,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "only-mips64", "only-msp430", "only-msvc", + "only-musl", "only-nightly", "only-nvptx64", "only-powerpc", |
