linker: Generate symbols.o
for dylibs
This commit is contained in:
parent
73317f8b0d
commit
4136b8feb0
1 changed files with 2 additions and 2 deletions
|
@ -1553,8 +1553,8 @@ pub(crate) fn linked_symbols(
|
|||
crate_type: CrateType,
|
||||
) -> Vec<(String, SymbolExportKind)> {
|
||||
match crate_type {
|
||||
CrateType::Executable | CrateType::Cdylib => (),
|
||||
CrateType::Staticlib | CrateType::ProcMacro | CrateType::Rlib | CrateType::Dylib => {
|
||||
CrateType::Executable | CrateType::Cdylib | CrateType::Dylib => (),
|
||||
CrateType::Staticlib | CrateType::ProcMacro | CrateType::Rlib => {
|
||||
return Vec::new();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue