Wrap bundlen static libraries into object files
This commit is contained in:
parent
9b735a7132
commit
e16c77847d
7 changed files with 51 additions and 19 deletions
|
@ -507,6 +507,9 @@ pub enum ExtractBundledLibsError<'a> {
|
|||
|
||||
#[diag(codegen_ssa_extract_bundled_libs_write_file)]
|
||||
WriteFile { rlib: &'a Path, error: Box<dyn std::error::Error> },
|
||||
|
||||
#[diag(codegen_ssa_extract_bundled_libs_write_file)]
|
||||
ExtractSection { rlib: &'a Path, error: Box<dyn std::error::Error> },
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
|
@ -521,3 +524,9 @@ pub enum AppleSdkRootError<'a> {
|
|||
#[diag(codegen_ssa_apple_sdk_error_sdk_path)]
|
||||
SdkPath { sdk_name: &'a str, error: Error },
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(codegen_ssa_read_file)]
|
||||
pub struct ReadFileError {
|
||||
pub message: std::io::Error,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue