rust/compiler/rustc_codegen_ssa/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
..
back Rollup merge of #133633 - jyn514:hide-linker-args, r=bjorn3,jyn514 2024-12-15 20:01:37 +11:00
debuginfo Remove polymorphization 2024-12-06 16:42:09 -05:00
mir Simplify the GEP instruction for index 2024-12-15 19:01:45 +08:00
traits Auto merge of #133099 - RalfJung:forbidden-hardfloat-features, r=workingjubilee 2024-12-13 19:43:00 +00:00
assert_module_sources.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
base.rs additional TypingEnv cleanups 2024-11-19 21:36:23 +01:00
codegen_attrs.rs Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=Urgau 2024-12-15 20:01:38 +11:00
common.rs Test fixing raw-dylib 2024-09-24 10:10:31 -07:00
errors.rs don't show the full linker args unless --verbose is passed 2024-12-14 20:38:46 -05:00
lib.rs Emit diagnostics for incorrect deployment targets 2024-11-01 17:07:19 +01:00
meth.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
mono_item.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
size_of_val.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
target_features.rs target_features: control separately whether enabling and disabling a target feature is allowed 2024-12-14 08:24:18 +01:00