pub struct Target {Show 19 fields
pub llvm_config: Option<PathBuf>,
pub llvm_has_rust_patches: Option<bool>,
pub llvm_filecheck: Option<PathBuf>,
pub llvm_libunwind: Option<LlvmLibunwind>,
pub cc: Option<PathBuf>,
pub cxx: Option<PathBuf>,
pub ar: Option<PathBuf>,
pub ranlib: Option<PathBuf>,
pub default_linker: Option<PathBuf>,
pub linker: Option<PathBuf>,
pub sanitizers: Option<bool>,
pub profiler: Option<StringOrBool>,
pub rpath: Option<bool>,
pub crt_static: Option<bool>,
pub musl_root: Option<PathBuf>,
pub musl_libdir: Option<PathBuf>,
pub wasi_root: Option<PathBuf>,
pub qemu_rootfs: Option<PathBuf>,
pub no_std: bool,
}Expand description
Per-target configuration stored in the global configuration structure.
Fields§
§llvm_config: Option<PathBuf>Some(path to llvm-config) if using an external LLVM.
llvm_has_rust_patches: Option<bool>§llvm_filecheck: Option<PathBuf>Some(path to FileCheck) if one was specified.
llvm_libunwind: Option<LlvmLibunwind>§cc: Option<PathBuf>§cxx: Option<PathBuf>§ar: Option<PathBuf>§ranlib: Option<PathBuf>§default_linker: Option<PathBuf>§linker: Option<PathBuf>§sanitizers: Option<bool>§profiler: Option<StringOrBool>§rpath: Option<bool>§crt_static: Option<bool>§musl_root: Option<PathBuf>§musl_libdir: Option<PathBuf>§wasi_root: Option<PathBuf>§qemu_rootfs: Option<PathBuf>§no_std: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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
§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: 320 bytes