diff options
| author | David Wood <david.wood2@arm.com> | 2024-09-11 13:57:12 +0100 |
|---|---|---|
| committer | David Wood <david.wood2@arm.com> | 2024-09-24 15:48:49 +0100 |
| commit | 207bc77e15acc9444bf6c3e74fa46607490a8e8a (patch) | |
| tree | 1c2d902140dcabad678f60d97279170014c62486 /compiler/rustc_codegen_gcc/messages.ftl | |
| parent | 6edd86d58e5f8f35de441c3b461d1b1f5e818e1c (diff) | |
| download | rust-207bc77e15acc9444bf6c3e74fa46607490a8e8a.tar.gz rust-207bc77e15acc9444bf6c3e74fa46607490a8e8a.zip | |
codegen_ssa: consolidate tied feature checking
`rustc_codegen_llvm` and `rustc_codegen_gcc` duplicated logic for checking if tied target features were partially enabled. This commit consolidates these checks into `rustc_codegen_ssa` in the `codegen_fn_attrs` query, which also is run pre-monomorphisation for each function, which ensures that this check is run for unused functions, as would be expected.
Diffstat (limited to 'compiler/rustc_codegen_gcc/messages.ftl')
| -rw-r--r-- | compiler/rustc_codegen_gcc/messages.ftl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_gcc/messages.ftl b/compiler/rustc_codegen_gcc/messages.ftl index 0235384445e..bbae59ea7a5 100644 --- a/compiler/rustc_codegen_gcc/messages.ftl +++ b/compiler/rustc_codegen_gcc/messages.ftl @@ -8,9 +8,6 @@ codegen_gcc_invalid_minimum_alignment = codegen_gcc_lto_not_supported = LTO is not supported. You may get a linker error. -codegen_gcc_tied_target_features = the target features {$features} must all be either enabled or disabled together - .help = add the missing features in a `target_feature` attribute - codegen_gcc_unwinding_inline_asm = GCC backend does not support unwinding from inline asm |
