about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-02-12 10:46:38 +0100
committerGitHub <noreply@github.com>2025-02-12 10:46:38 +0100
commit1073aea8d3c01fbfe3299642128cbf593b8898d5 (patch)
tree950a47b0aa573a17c6c6cbdeddf561917c083708 /compiler/rustc_codegen_llvm/src/builder.rs
parentc43a59f5975c4c4125faf7d6565ead59f831f059 (diff)
parentacc7ddfd53a425b61d2beee8ea34726d7c99b553 (diff)
downloadrust-1073aea8d3c01fbfe3299642128cbf593b8898d5.tar.gz
rust-1073aea8d3c01fbfe3299642128cbf593b8898d5.zip
Rollup merge of #136767 - onur-ozkan:is-host-target, r=albertlarsan68,jieyouxu
improve host/cross target checking

Using an invalid equality operator on `builder.config.build !=/==` can be hard to detect in reviews (which is quite dangerous). Replaced them with `is_host_target`, which is much clearer as it explicitly states what it does.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions