pub enum LlvmCiMode {
BuildLocally,
DownloadFromCi,
}Expand description
Determines how will LLVM be provided.
Variants§
BuildLocally
Build LLVM from the local src/llvm-project submodule.
DownloadFromCi
Try to download LLVM from CI. If it is not available on CI, it will be built locally instead.
Implementations§
Source§impl LlvmCiMode
impl LlvmCiMode
pub fn download_from_ci(&self) -> bool
Trait Implementations§
Source§impl Clone for LlvmCiMode
impl Clone for LlvmCiMode
Source§fn clone(&self) -> LlvmCiMode
fn clone(&self) -> LlvmCiMode
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 moreSource§impl Debug for LlvmCiMode
impl Debug for LlvmCiMode
Source§impl Default for LlvmCiMode
impl Default for LlvmCiMode
Source§fn default() -> LlvmCiMode
fn default() -> LlvmCiMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for LlvmCiMode
impl PartialEq for LlvmCiMode
impl StructuralPartialEq for LlvmCiMode
Auto Trait Implementations§
impl Freeze for LlvmCiMode
impl RefUnwindSafe for LlvmCiMode
impl Send for LlvmCiMode
impl Sync for LlvmCiMode
impl Unpin for LlvmCiMode
impl UnsafeUnpin for LlvmCiMode
impl UnwindSafe for LlvmCiMode
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: 1 byte
Size for each variant:
BuildLocally: 0 bytesDownloadFromCi: 0 bytes