about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2023-04-02 18:26:48 +0300
committerklensy <klensy@users.noreply.github.com>2023-04-04 15:12:35 +0300
commit076116bb4ca84801e5f513fc7cf280c55f32e8c4 (patch)
tree3773892156ad2653f1c6a8b85e3a6d47f7b7bc73 /compiler/rustc_codegen_llvm/src/asm.rs
parentc53a9faa6fdcdf8776646e837272ea0a85bf8179 (diff)
downloadrust-076116bb4ca84801e5f513fc7cf280c55f32e8c4.tar.gz
rust-076116bb4ca84801e5f513fc7cf280c55f32e8c4.zip
replace LLVMRustAppendModuleInlineAsm with LLVMAppendModuleInlineAsm, LLVMRustMetadataTypeInContext with LLVMMetadataTypeInContext
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/asm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/asm.rs b/compiler/rustc_codegen_llvm/src/asm.rs
index d9f8170a3cf..e7668341eb6 100644
--- a/compiler/rustc_codegen_llvm/src/asm.rs
+++ b/compiler/rustc_codegen_llvm/src/asm.rs
@@ -381,7 +381,7 @@ impl<'tcx> AsmMethods<'tcx> for CodegenCx<'_, 'tcx> {
         }
 
         unsafe {
-            llvm::LLVMRustAppendModuleInlineAsm(
+            llvm::LLVMAppendModuleInlineAsm(
                 self.llmod,
                 template_str.as_ptr().cast(),
                 template_str.len(),