From eb03181473da43490c2a6f7564634184c43d6d3b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 26 Nov 2026 11:38:00 +0100 Subject: [PATCH] rust: Rename a test case description that is a Rust keyword test-case 3.3.1, which Fedora ships, uses the description alone as the function name, so `static` fails to compile. test-case 3.4 prefixes the name. --- src/compiler/rust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/rust.rs b/src/compiler/rust.rs index 56c291d457..011a37fe9d 100644 --- a/src/compiler/rust.rs +++ b/src/compiler/rust.rs @@ -3781,7 +3781,7 @@ LLVM version: 15.0.2 /// `-l` reaches rustc as it was given. In particular a library without a kind must not /// become `dylib`: rustc picks the kind per target (e.g. static with `crt-static`). #[test_case("bar" ; "without kind")] - #[test_case("static=bar" ; "static")] + #[test_case("static=bar" ; "static kind")] #[test_case("static:-bundle=bar" ; "static with modifiers")] #[test_case("dylib=bar" ; "dylib")] fn test_parse_arguments_link_library_is_passed_unchanged(lib: &str) {