keep noinline for system llvm < 14

This commit is contained in:
Erik Desjardins 2021-12-29 23:19:55 -05:00
parent 2b662217e7
commit e4463b2453
9 changed files with 29 additions and 6 deletions

View file

@ -1902,6 +1902,8 @@ extern "C" {
pub fn LLVMRustVersionMinor() -> u32;
pub fn LLVMRustVersionPatch() -> u32;
pub fn LLVMRustIsRustLLVM() -> bool;
pub fn LLVMRustAddModuleFlag(M: &Module, name: *const c_char, value: u32);
pub fn LLVMRustMetadataAsValue<'a>(C: &'a Context, MD: &'a Metadata) -> &'a Value;