Skip to content

Commit fb38743

Browse files
committed
rustc_llvm has linked llvm-wrapper
1 parent 4239be9 commit fb38743

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use libc::{c_char, c_uint};
66
use super::ffi::{BasicBlock, Metadata, Module, Type, Value};
77
use crate::llvm::Bool;
88

9-
#[link(name = "llvm-wrapper", kind = "static")]
9+
#[link(name = "llvm-wrapper")]
1010
unsafe extern "C" {
1111
// Enzyme
1212
pub(crate) fn LLVMRustHasMetadata(I: &Value, KindID: c_uint) -> bool;

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ unsafe extern "C" {
17741774
) -> &'ll Metadata;
17751775
}
17761776

1777-
#[link(name = "llvm-wrapper", kind = "static")]
1777+
#[link(name = "llvm-wrapper")]
17781778
unsafe extern "C" {
17791779
pub(crate) fn LLVMRustInstallErrorHandlers();
17801780
pub(crate) fn LLVMRustDisableSystemDialogsOnCrash();

0 commit comments

Comments
 (0)