Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make llvm_sys a public export #465

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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