pub struct LLVMPath {}
Expand description
The LLVM path resolver.
Implementations§
Source§impl LLVMPath
impl LLVMPath
Sourcepub const DIRECTORY_LLVM_HOST_SOURCE: &'static str = "./llvm-host/"
pub const DIRECTORY_LLVM_HOST_SOURCE: &'static str = "./llvm-host/"
The LLVM host source directory for stage 1 of multistage MUSL builds.
Sourcepub const DIRECTORY_LLVM_SOURCE: &'static str = "./llvm/"
pub const DIRECTORY_LLVM_SOURCE: &'static str = "./llvm/"
The LLVM source directory.
Sourcepub const DIRECTORY_LLVM_TARGET: &'static str = "./target-llvm/"
pub const DIRECTORY_LLVM_TARGET: &'static str = "./target-llvm/"
The LLVM target directory.
Sourcepub fn llvm_host_module_llvm() -> Result<PathBuf>
pub fn llvm_host_module_llvm() -> Result<PathBuf>
Returns the path to the llvm
stage 1 host LLVM source module 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_source(name: &str) -> Result<PathBuf>
pub fn musl_source(name: &str) -> Result<PathBuf>
Returns the path to the MUSL source.
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.
Auto Trait Implementations§
impl Freeze for LLVMPath
impl RefUnwindSafe for LLVMPath
impl Send for LLVMPath
impl Sync for LLVMPath
impl Unpin for LLVMPath
impl UnwindSafe for LLVMPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more