pub struct Target {Show 23 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 split_debuginfo: Option<SplitDebuginfo>,
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 runner: Option<String>,
pub no_std: bool,
pub codegen_backends: Option<Vec<String>>,
pub optimized_compiler_builtins: Option<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>
§split_debuginfo: Option<SplitDebuginfo>
§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>
§runner: Option<String>
§no_std: bool
§codegen_backends: Option<Vec<String>>
§optimized_compiler_builtins: Option<bool>
Implementations§
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
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
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: 368 bytes