allow LTO on proc-macro
crates with -Zdylib-lto
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
af78bae565
commit
bdd66b3f98
3 changed files with 18 additions and 3 deletions
|
@ -138,6 +138,10 @@ pub(crate) struct LtoDisallowed;
|
|||
#[diag(codegen_llvm_lto_dylib)]
|
||||
pub(crate) struct LtoDylib;
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(codegen_llvm_lto_proc_macro)]
|
||||
pub(crate) struct LtoProcMacro;
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(codegen_llvm_lto_bitcode_from_rlib)]
|
||||
pub(crate) struct LtoBitcodeFromRlib {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue