about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-13 19:16:42 +0100
committerGitHub <noreply@github.com>2023-01-13 19:16:42 +0100
commitf9dde54a11e166a8d217db9190f6bb59e54924ad (patch)
tree749284a011a3fcc50b0b8a90f3ccca56feccba49 /tests/codegen/src-hash-algorithm
parent1dc43b2e8b5faba0a5a5c7eb899e6f63e654e46c (diff)
parent3bc2970a2e5f80f04ac2c1b1c1e4ec06a001f151 (diff)
downloadrust-f9dde54a11e166a8d217db9190f6bb59e54924ad.tar.gz
rust-f9dde54a11e166a8d217db9190f6bb59e54924ad.zip
Rollup merge of #106489 - jschwe:fix_linker_detection, r=petrochenkov
Fix linker detection for linker (drivers) with a version postfix (e.g. clang-12 instead of clang)

Linker (drivers) such as clang / gcc or lld often have a version postfix matching the regex "-\d+$".
Previously, linker detection did not account for the possible version postfix and the fallback value was used, which can cause linker errors due to wrong arguments.
Also remove the check for `-clang`, since there are no architecture specific variants of clang (to my knowledge).

Fixes #106454
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions