Categorize and explain target features support
This commit is contained in:
parent
361bfce305
commit
e258a5ba6e
3 changed files with 91 additions and 25 deletions
|
@ -2128,7 +2128,13 @@ extern "C" {
|
|||
pub fn LLVMRustHasFeature(T: &TargetMachine, s: *const c_char) -> bool;
|
||||
|
||||
pub fn LLVMRustPrintTargetCPUs(T: &TargetMachine);
|
||||
pub fn LLVMRustPrintTargetFeatures(T: &TargetMachine);
|
||||
pub fn LLVMRustGetTargetFeaturesCount(T: &TargetMachine) -> size_t;
|
||||
pub fn LLVMRustGetTargetFeature(
|
||||
T: &TargetMachine,
|
||||
Index: size_t,
|
||||
Feature: &mut *const c_char,
|
||||
Desc: &mut *const c_char,
|
||||
);
|
||||
|
||||
pub fn LLVMRustGetHostCPUName(len: *mut usize) -> *const c_char;
|
||||
pub fn LLVMRustCreateTargetMachine(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue