Skip to content

Commit

Permalink
Make llvm_sys a public export
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
  • Loading branch information
SUPERCILEX authored and TheDan64 committed Jan 23, 2024
1 parent 3437e60 commit 4f18389
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,33 @@ pub mod values;

// Boilerplate to select a desired llvm_sys version at compile & link time.
#[cfg(feature = "llvm10-0")]
extern crate llvm_sys_100 as llvm_sys;
pub extern crate llvm_sys_100 as llvm_sys;
#[cfg(feature = "llvm11-0")]
extern crate llvm_sys_110 as llvm_sys;
pub extern crate llvm_sys_110 as llvm_sys;
#[cfg(feature = "llvm12-0")]
extern crate llvm_sys_120 as llvm_sys;
pub extern crate llvm_sys_120 as llvm_sys;
#[cfg(feature = "llvm13-0")]
extern crate llvm_sys_130 as llvm_sys;
pub extern crate llvm_sys_130 as llvm_sys;
#[cfg(feature = "llvm14-0")]
extern crate llvm_sys_140 as llvm_sys;
pub extern crate llvm_sys_140 as llvm_sys;
#[cfg(feature = "llvm15-0")]
extern crate llvm_sys_150 as llvm_sys;
pub extern crate llvm_sys_150 as llvm_sys;
#[cfg(feature = "llvm16-0")]
extern crate llvm_sys_160 as llvm_sys;
pub extern crate llvm_sys_160 as llvm_sys;
#[cfg(feature = "llvm17-0")]
extern crate llvm_sys_170 as llvm_sys;
pub extern crate llvm_sys_170 as llvm_sys;
#[cfg(feature = "llvm4-0")]
extern crate llvm_sys_40 as llvm_sys;
pub extern crate llvm_sys_40 as llvm_sys;
#[cfg(feature = "llvm5-0")]
extern crate llvm_sys_50 as llvm_sys;
pub extern crate llvm_sys_50 as llvm_sys;
#[cfg(feature = "llvm6-0")]
extern crate llvm_sys_60 as llvm_sys;
pub extern crate llvm_sys_60 as llvm_sys;
#[cfg(feature = "llvm7-0")]
extern crate llvm_sys_70 as llvm_sys;
pub extern crate llvm_sys_70 as llvm_sys;
#[cfg(feature = "llvm8-0")]
extern crate llvm_sys_80 as llvm_sys;
pub extern crate llvm_sys_80 as llvm_sys;
#[cfg(feature = "llvm9-0")]
extern crate llvm_sys_90 as llvm_sys;
pub extern crate llvm_sys_90 as llvm_sys;

use llvm_sys::{
LLVMAtomicOrdering, LLVMAtomicRMWBinOp, LLVMDLLStorageClass, LLVMIntPredicate, LLVMRealPredicate,
Expand Down

0 comments on commit 4f18389

Please sign in to comment.