about summary refs log tree commit diff
path: root/library/core/src/ffi/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-30 20:21:50 +0000
committerbors <bors@rust-lang.org>2025-01-30 20:21:50 +0000
commita730edcd67c7cb29d4458e170d4eb290387c27c3 (patch)
treef13c435c36768d04e0e503ad556bb9165c1f4a17 /library/core/src/ffi/mod.rs
parent6ac88786155774da429213a1362d4cb085047af3 (diff)
parent53238c3db6b293546f0b3bbd835ca85517ae9d8f (diff)
downloadrust-a730edcd67c7cb29d4458e170d4eb290387c27c3.tar.gz
rust-a730edcd67c7cb29d4458e170d4eb290387c27c3.zip
Auto merge of #135030 - Flakebi:require-cpu, r=workingjubilee
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.

amdgpu tracking issue: #135024
AVR MCP: https://github.com/rust-lang/compiler-team/issues/800
Diffstat (limited to 'library/core/src/ffi/mod.rs')
0 files changed, 0 insertions, 0 deletions