diff options
| author | Ralf Jung <post@ralfj.de> | 2024-12-26 18:32:22 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-12-31 12:41:20 +0100 |
| commit | 2bf27e09beb4cd1c5f01369e7086e36b3de04f5c (patch) | |
| tree | cbc3c2d940b7b06fbe2d03a5234f20459295a028 /compiler/rustc_codegen_llvm/messages.ftl | |
| parent | 41b579660c0af700d42abe5b71856098db007783 (diff) | |
| download | rust-2bf27e09beb4cd1c5f01369e7086e36b3de04f5c.tar.gz rust-2bf27e09beb4cd1c5f01369e7086e36b3de04f5c.zip | |
explicitly model that certain ABIs require/forbid certain target features
Diffstat (limited to 'compiler/rustc_codegen_llvm/messages.ftl')
| -rw-r--r-- | compiler/rustc_codegen_llvm/messages.ftl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/messages.ftl b/compiler/rustc_codegen_llvm/messages.ftl index 63c64269eb8..22445448907 100644 --- a/compiler/rustc_codegen_llvm/messages.ftl +++ b/compiler/rustc_codegen_llvm/messages.ftl @@ -8,7 +8,7 @@ codegen_llvm_dynamic_linking_with_lto = codegen_llvm_fixed_x18_invalid_arch = the `-Zfixed-x18` flag is not supported on the `{$arch}` architecture codegen_llvm_forbidden_ctarget_feature = - target feature `{$feature}` cannot be toggled with `-Ctarget-feature`: {$reason} + target feature `{$feature}` cannot be {$enabled} with `-Ctarget-feature`: {$reason} .note = this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! codegen_llvm_forbidden_ctarget_feature_issue = for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344> @@ -22,8 +22,6 @@ codegen_llvm_invalid_minimum_alignment_not_power_of_two = codegen_llvm_invalid_minimum_alignment_too_large = invalid minimum global alignment: {$align} is too large -codegen_llvm_invalid_target_feature_prefix = target feature `{$feature}` must begin with a `+` or `-`" - codegen_llvm_load_bitcode = failed to load bitcode of module "{$name}" codegen_llvm_load_bitcode_with_llvm_err = failed to load bitcode of module "{$name}": {$llvm_err} |
