Rollup merge of #106904 - khuey:preserve_debuginfo_for_rlibs, r=davidtwco
Preserve split DWARF files when building archives. r? ```@davidtwco```
This commit is contained in:
commit
1b442befca
3 changed files with 2 additions and 20 deletions
|
@ -864,18 +864,6 @@ pub enum CrateType {
|
|||
ProcMacro,
|
||||
}
|
||||
|
||||
impl CrateType {
|
||||
/// When generated, is this crate type an archive?
|
||||
pub fn is_archive(&self) -> bool {
|
||||
match *self {
|
||||
CrateType::Rlib | CrateType::Staticlib => true,
|
||||
CrateType::Executable | CrateType::Dylib | CrateType::Cdylib | CrateType::ProcMacro => {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Hash, Debug, PartialEq, Eq)]
|
||||
pub enum Passes {
|
||||
Some(Vec<String>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue