Expose OUT_DIR for compiler passes to other components (#840)
* Expose OUT_DIR for compiler passes to other components * not updating nyx
This commit is contained in:
parent
64ec5c30ae
commit
b035b70f4e
@ -10,6 +10,9 @@ use std::{
|
|||||||
|
|
||||||
use crate::{CompilerWrapper, Error, LIB_EXT, LIB_PREFIX};
|
use crate::{CompilerWrapper, Error, LIB_EXT, LIB_PREFIX};
|
||||||
|
|
||||||
|
/// The `OUT_DIR` for `LLVM` compiler passes
|
||||||
|
pub const OUT_DIR: &str = env!("OUT_DIR");
|
||||||
|
|
||||||
fn dll_extension<'a>() -> &'a str {
|
fn dll_extension<'a>() -> &'a str {
|
||||||
if cfg!(target_os = "windows") {
|
if cfg!(target_os = "windows") {
|
||||||
"dll"
|
"dll"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user