Sync rustc_codegen_cranelift 'ddd4ce2553
'
This commit is contained in:
commit
505aa48f24
43 changed files with 784 additions and 1243 deletions
|
@ -13,6 +13,7 @@ pub(crate) fn get_clif_linkage(
|
|||
(RLinkage::External, Visibility::Default) => Linkage::Export,
|
||||
(RLinkage::Internal, Visibility::Default) => Linkage::Local,
|
||||
(RLinkage::External, Visibility::Hidden) => Linkage::Hidden,
|
||||
(RLinkage::WeakAny, Visibility::Default) => Linkage::Preemptible,
|
||||
_ => panic!("{:?} = {:?} {:?}", mono_item, linkage, visibility),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue