summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorFlakebi <flakebi@t-online.de>2025-01-02 13:15:21 +0100
committerFlakebi <flakebi@t-online.de>2025-01-16 01:22:50 +0100
commit53238c3db6b293546f0b3bbd835ca85517ae9d8f (patch)
tree1eeaaeedab85b9a71a89ee08d1c6c5d32d48d9d6 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentbf6f8a4d328f7f3b0f6ea8205ad28591cc11aafd (diff)
downloadrust-53238c3db6b293546f0b3bbd835ca85517ae9d8f.tar.gz
rust-53238c3db6b293546f0b3bbd835ca85517ae9d8f.zip
Target option to require explicit cpu
Some targets have many different CPUs and no generic CPU that can be
used as a default. For these targets, the user needs to explicitly
specify a CPU through `-C target-cpu=`.

Add an option for targets and an error message if no CPU is set.

This affects the proposed amdgpu and avr targets.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions