pub struct LlvmOutput {
llvm_config: PathBuf,
link_shared: bool,
llvm_root_dir: PathBuf,
kind: LlvmKind,
}Expand description
Result of building or downloading LLVM artifacts.
Fields§
§llvm_config: PathBuf§llvm_root_dir: PathBuf§kind: LlvmKindImplementations§
Source§impl LlvmOutput
impl LlvmOutput
Sourcepub fn root_dir(&self) -> &Path
pub fn root_dir(&self) -> &Path
Directory containing the built LLVM artifacts.
Contains bin/lib directories.
Should we link dynamically to the built LLVM?
Sourcepub fn llvm_config(&self) -> &Path
pub fn llvm_config(&self) -> &Path
Path to the llvm-config binary.
Note that this binary might not be executable on the current host, if LLVM was built for a different target.
Trait Implementations§
Source§impl Clone for LlvmOutput
impl Clone for LlvmOutput
Source§fn clone(&self) -> LlvmOutput
fn clone(&self) -> LlvmOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LlvmOutput
impl RefUnwindSafe for LlvmOutput
impl Send for LlvmOutput
impl Sync for LlvmOutput
impl Unpin for LlvmOutput
impl UnsafeUnpin for LlvmOutput
impl UnwindSafe for LlvmOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes