about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-11-11 20:40:51 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-11-11 20:40:51 +0300
commit1def24c5f45df9f8d101cdaec4b6485aa9ad1aae (patch)
tree07c137fcadc2e12b2274f3497a7c03ade018a43d /compiler/rustc_codegen_llvm/src
parent443b45fa9fd87cf0939e80a64bead413530e375c (diff)
downloadrust-1def24c5f45df9f8d101cdaec4b6485aa9ad1aae.tar.gz
rust-1def24c5f45df9f8d101cdaec4b6485aa9ad1aae.zip
rustc_target: Normalize vendor from "" to "unknown" for all targets
Majority of targets use "unknown" vendor and changing it from "unknown" to omitted doesn't make sense.
From the LLVM docs (https://clang.llvm.org/docs/CrossCompilation.html#target-triple):

>Most of the time it can be omitted (and Unknown) will be assumed, which sets the defaults for the specified architecture.
>When a parameter is not important, it can be omitted, or you can choose unknown and the defaults will be used. If you choose a parameter that Clang doesn’t know, like blerg, it’ll ignore and assume unknown
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions