Add LTONotSupported

This commit is contained in:
Ellis Hoag 2022-08-26 20:50:37 -07:00
parent d9aa635969
commit d0b7e71918
3 changed files with 9 additions and 1 deletions

View file

@ -14,6 +14,10 @@ pub(crate) struct LinkageConstOrMutType {
pub span: Span
}
#[derive(SessionDiagnostic)]
#[diag(codegen_gcc::lto_not_supported)]
pub(crate) struct LTONotSupported {}
#[derive(SessionDiagnostic)]
#[diag(codegen_gcc::unwinding_inline_asm)]
pub(crate) struct UnwindingInlineAsm {