rust/compiler/rustc_target/src
bors d18506299b Auto merge of #133417 - RalfJung:aarch64-float-abi, r=workingjubilee
reject aarch64 target feature toggling that would change the float ABI

~~Stacked on top of https://github.com/rust-lang/rust/pull/133099. Only the last two commits are new.~~

The first new commit lays the groundwork for separately controlling whether a feature may be enabled or disabled. The second commit uses that to make it illegal to *disable* the `neon` feature (which is only possible via `-Ctarget-feature`, and so the new check just adds a warning). Enabling the `neon` feature remains allowed on targets that don't disable `neon` or `fp-armv8`, which is all our built-in targets. This way, the entire PR is not a breaking change.

Fixes https://github.com/rust-lang/rust/issues/131058 for hardfloat targets (together with https://github.com/rust-lang/rust/pull/133102 which fixed it for softfloat targets).

Part of https://github.com/rust-lang/rust/issues/116344.
2024-12-15 16:32:03 +00:00
..
asm Auto merge of #133659 - jieyouxu:rollup-576gh4p, r=jieyouxu 2024-11-30 17:18:00 +00:00
callconv Fix powerpc64 big-endian FreeBSD ABI 2024-12-13 01:53:26 +09:00
spec Auto merge of #133417 - RalfJung:aarch64-float-abi, r=workingjubilee 2024-12-15 16:32:03 +00:00
json.rs compiler: Move impl of ToJson for abi::Endian 2024-10-11 17:41:52 -07:00
lib.rs compiler: Wire {TyAnd,}Layout into rustc_abi 2024-10-11 17:41:52 -07:00
target_features.rs apply review feedback 2024-12-15 09:25:11 +01:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00