Struct compiler_llvm_builder::llvm_path::LLVMPath
source · pub struct LLVMPath {}
Expand description
The LLVM path resolver.
Implementations§
source§impl LLVMPath
impl LLVMPath
sourcepub const DIRECTORY_LLVM_SOURCE: &str = "./llvm/"
pub const DIRECTORY_LLVM_SOURCE: &str = "./llvm/"
The LLVM source directory.
sourcepub const DIRECTORY_LLVM_TARGET: &str = "./target-llvm/"
pub const DIRECTORY_LLVM_TARGET: &str = "./target-llvm/"
The LLVM target directory.
sourcepub fn llvm_module_llvm() -> Result<PathBuf>
pub fn llvm_module_llvm() -> Result<PathBuf>
Returns the path to the llvm
LLVM source module directory.
sourcepub fn musl_build(source_directory: &str) -> Result<PathBuf>
pub fn musl_build(source_directory: &str) -> Result<PathBuf>
Returns the path to the MUSL build directory.
sourcepub fn llvm_build_crt() -> Result<PathBuf>
pub fn llvm_build_crt() -> Result<PathBuf>
Returns the path to the LLVM CRT build directory.
sourcepub fn llvm_build_host() -> Result<PathBuf>
pub fn llvm_build_host() -> Result<PathBuf>
Returns the path to the LLVM host build directory.
sourcepub fn llvm_build_final() -> Result<PathBuf>
pub fn llvm_build_final() -> Result<PathBuf>
Returns the path to the LLVM final build directory.
sourcepub fn musl_target() -> Result<PathBuf>
pub fn musl_target() -> Result<PathBuf>
Returns the path to the MUSL target directory.
sourcepub fn llvm_target_crt() -> Result<PathBuf>
pub fn llvm_target_crt() -> Result<PathBuf>
Returns the path to the LLVM CRT target directory.
sourcepub fn llvm_target_host() -> Result<PathBuf>
pub fn llvm_target_host() -> Result<PathBuf>
Returns the path to the LLVM host target directory.
sourcepub fn llvm_target_final() -> Result<PathBuf>
pub fn llvm_target_final() -> Result<PathBuf>
Returns the path to the LLVM final target directory.