From 4f18389938292f6db34b0be6646452e034bb6ec2 Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Sat, 20 Jan 2024 18:05:30 -0800 Subject: [PATCH] Make llvm_sys a public export Signed-off-by: Alex Saveau --- src/lib.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1f5d2321173..42e30526bdb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,