about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/messages.ftl
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2024-05-15 10:01:55 +0200
committerAlice Ryhl <aliceryhl@google.com>2024-05-15 11:14:45 +0200
commitb780fa9219c4c921e3334971a9e673e22cbea375 (patch)
treee8133ab3828212b29aed70ecba05c6e369b82e97 /compiler/rustc_codegen_llvm/messages.ftl
parent518becf5ea30807f98b89002a70e5640e6e8bbf4 (diff)
downloadrust-b780fa9219c4c921e3334971a9e673e22cbea375.tar.gz
rust-b780fa9219c4c921e3334971a9e673e22cbea375.zip
Use an error struct instead of a panic
Diffstat (limited to 'compiler/rustc_codegen_llvm/messages.ftl')
-rw-r--r--compiler/rustc_codegen_llvm/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/messages.ftl b/compiler/rustc_codegen_llvm/messages.ftl
index d14fe0299e6..1c126e79762 100644
--- a/compiler/rustc_codegen_llvm/messages.ftl
+++ b/compiler/rustc_codegen_llvm/messages.ftl
@@ -18,6 +18,8 @@ codegen_llvm_error_creating_import_library =
 codegen_llvm_error_writing_def_file =
     Error writing .DEF file: {$error}
 
+codegen_llvm_fixed_x18_invalid_arch = the `-Zfixed-x18` flag is not supported on the `{$arch}` architecture
+
 codegen_llvm_from_llvm_diag = {$message}
 
 codegen_llvm_from_llvm_optimization_diag = {$filename}:{$line}:{$column} {$pass_name} ({$kind}): {$message}