about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/messages.ftl
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2023-09-23 17:08:43 +0300
committeronur-ozkan <work@onurozkan.dev>2023-09-23 17:08:43 +0300
commitbdd66b3f98e8c3907aad82f16726f0a233ea4ba8 (patch)
treef41fc5954e14c5693530c15f0627d622a9d2c708 /compiler/rustc_codegen_llvm/messages.ftl
parentaf78bae565e85b9c5698ee909af0652674eca6d4 (diff)
downloadrust-bdd66b3f98e8c3907aad82f16726f0a233ea4ba8.tar.gz
rust-bdd66b3f98e8c3907aad82f16726f0a233ea4ba8.zip
allow LTO on `proc-macro` crates with `-Zdylib-lto`
Signed-off-by: onur-ozkan <work@onurozkan.dev>
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 ddaff36f24b..c0cfe39f1e0 100644
--- a/compiler/rustc_codegen_llvm/messages.ftl
+++ b/compiler/rustc_codegen_llvm/messages.ftl
@@ -37,6 +37,8 @@ codegen_llvm_lto_disallowed = lto can only be run for executables, cdylibs and s
 
 codegen_llvm_lto_dylib = lto cannot be used for `dylib` crate type without `-Zdylib-lto`
 
+codegen_llvm_lto_proc_macro = lto cannot be used for `proc-macro` crate type without `-Zdylib-lto`
+
 codegen_llvm_missing_features =
     add the missing features in a `target_feature` attribute