mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Note some bindings that can be replaced after dropping LLVM 21 support
This commit is contained in:
@@ -1996,6 +1996,7 @@ pub(crate) fn LLVMDIBuilderCreateParameterVariable<'ll>(
|
||||
pub(crate) fn LLVMRustDisableSystemDialogsOnCrash();
|
||||
|
||||
// Operations on all values
|
||||
/// FIXME: After dropping LLVM 21, migrate to LLVM-C's `LLVMGlobalAddMetadata`.
|
||||
pub(crate) fn LLVMRustGlobalAddMetadata<'a>(
|
||||
Val: &'a Value,
|
||||
KindID: MetadataKindId,
|
||||
@@ -2065,6 +2066,7 @@ pub(crate) fn LLVMRustCreateRangeAttribute(
|
||||
) -> &Attribute;
|
||||
|
||||
// Operations on functions
|
||||
/// FIXME: After dropping LLVM 21, migrate to LLVM-C's `LLVMGetOrInsertFunction`.
|
||||
pub(crate) fn LLVMRustGetOrInsertFunction<'a>(
|
||||
M: &'a Module,
|
||||
Name: *const c_char,
|
||||
|
||||
Reference in New Issue
Block a user