diff options
| author | bors <bors@rust-lang.org> | 2022-12-03 15:07:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-03 15:07:39 +0000 |
| commit | cab4fd678c5b148a330f2bf255bf28a67dfea0fc (patch) | |
| tree | eb14414a1876cb31bc742ce555b708be3ecbb8a3 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 4bb15759d7eb519be70c9a955dba9be09e13c06d (diff) | |
| parent | a99838a1151ee0c8423a7c3d32789a7c03adbf41 (diff) | |
| download | rust-cab4fd678c5b148a330f2bf255bf28a67dfea0fc.tar.gz rust-cab4fd678c5b148a330f2bf255bf28a67dfea0fc.zip | |
Auto merge of #97485 - bjorn3:new_archive_writer, r=wesleywiser
Rewrite LLVM's archive writer in Rust This allows it to be used by other codegen backends. Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/1155
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index 0fafc214f2f..fddfbb23c67 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -73,12 +73,6 @@ pub(crate) struct LinkageConstOrMutType { pub(crate) struct SanitizerMemtagRequiresMte; #[derive(Diagnostic)] -#[diag(codegen_llvm_archive_build_failure)] -pub(crate) struct ArchiveBuildFailure { - pub error: std::io::Error, -} - -#[derive(Diagnostic)] #[diag(codegen_llvm_error_writing_def_file)] pub(crate) struct ErrorWritingDEFFile { pub error: std::io::Error, @@ -98,12 +92,6 @@ pub(crate) struct DlltoolFailImportLibrary<'a> { } #[derive(Diagnostic)] -#[diag(codegen_llvm_unknown_archive_kind)] -pub(crate) struct UnknownArchiveKind<'a> { - pub kind: &'a str, -} - -#[derive(Diagnostic)] #[diag(codegen_llvm_dynamic_linking_with_lto)] #[note] pub(crate) struct DynamicLinkingWithLTO; |
