Remove Linkage::Appending
It can only be used for certain LLVM internal variables like llvm.global_ctors which users are not allowed to define.
This commit is contained in:
parent
382e4031c2
commit
f68cd90412
6 changed files with 0 additions and 7 deletions
|
@ -41,7 +41,6 @@ fn linkage_by_name(tcx: TyCtxt<'_>, def_id: LocalDefId, name: &str) -> Linkage {
|
|||
// ghost, dllimport, dllexport and linkonce_odr_autohide are not supported
|
||||
// and don't have to be, LLVM treats them as no-ops.
|
||||
match name {
|
||||
"appending" => Appending,
|
||||
"available_externally" => AvailableExternally,
|
||||
"common" => Common,
|
||||
"extern_weak" => ExternalWeak,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue