Skip to content

Commit

Permalink
support llvm 10 - 17 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins authored Jul 8, 2024
1 parent 484552e commit 46d1a09
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,23 @@ pub extern crate inkwell_70 as inkwell;
pub extern crate inkwell_80 as inkwell;
#[cfg(feature = "inkwell-90")]
pub extern crate inkwell_90 as inkwell;

#[cfg(feature = "inkwell-100")]
pub extern crate llvm_sys_100 as llvm_sys;
#[cfg(feature = "inkwell-110")]
pub extern crate llvm_sys_110 as llvm_sys;
#[cfg(feature = "inkwell-120")]
pub extern crate llvm_sys_120 as llvm_sys;
#[cfg(feature = "inkwell-130")]
pub extern crate llvm_sys_130 as llvm_sys;
#[cfg(feature = "inkwell-140")]
pub extern crate llvm_sys_140 as llvm_sys;
#[cfg(feature = "inkwell-150")]
pub extern crate llvm_sys_150 as llvm_sys;
#[cfg(feature = "inkwell-160")]
pub extern crate llvm_sys_160 as llvm_sys;
#[cfg(feature = "inkwell-170")]
pub extern crate llvm_sys_170 as llvm_sys;

pub struct CompilerOptions {
pub bitcode_only: bool,
Expand Down

0 comments on commit 46d1a09

Please sign in to comment.