diff options
| author | bors <bors@rust-lang.org> | 2024-06-06 10:24:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-06 10:24:24 +0000 |
| commit | 67caf52fbc4f10cdf427f04e6cbb35c8b9d96bb7 (patch) | |
| tree | a524a1e89f10fb2084fe09d4e867f4bf31a4f3d2 /tests | |
| parent | 2d28b6384e5e0a2c9d1500a1f65e35423453fbf6 (diff) | |
| parent | f7c51a2d2f67a118db7de5e810f5acb096659137 (diff) | |
Auto merge of #125406 - tbu-:pr_rm_path_with_extension, r=Nadrieril
Directly add extension instead of using `Path::with_extension` `Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.rs b/tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.rs index 402efaf5027..ea9d48e7859 100644 --- a/tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.rs +++ b/tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.rs @@ -3,8 +3,8 @@ //@ needs-dlltool //@ compile-flags: --crate-type lib --emit link //@ normalize-stderr-test: "[^ ']*/dlltool.exe" -> "$$DLLTOOL" -//@ normalize-stderr-test: "[^ ]*/foo.def" -> "$$DEF_FILE" -//@ normalize-stderr-test: "[^ ]*/foo.lib" -> "$$LIB_FILE" +//@ normalize-stderr-test: "[^ ]*/foo.dll_imports.def" -> "$$DEF_FILE" +//@ normalize-stderr-test: "[^ ]*/foo.dll_imports.lib" -> "$$LIB_FILE" //@ normalize-stderr-test: "-m [^ ]*" -> "$$TARGET_MACHINE" //@ normalize-stderr-test: "-f [^ ]*" -> "$$ASM_FLAGS" //@ normalize-stderr-test: "--temp-prefix [^ ]*/foo.dll" -> "$$TEMP_PREFIX" |
