Struct bootstrap::config::TomlTarget
source · struct TomlTarget {Show 20 fields
cc: Option<String>,
cxx: Option<String>,
ar: Option<String>,
ranlib: Option<String>,
default_linker: Option<PathBuf>,
linker: Option<String>,
llvm_config: Option<String>,
llvm_has_rust_patches: Option<bool>,
llvm_filecheck: Option<String>,
llvm_libunwind: Option<String>,
android_ndk: Option<String>,
sanitizers: Option<bool>,
profiler: Option<StringOrBool>,
rpath: Option<bool>,
crt_static: Option<bool>,
musl_root: Option<String>,
musl_libdir: Option<String>,
wasi_root: Option<String>,
qemu_rootfs: Option<String>,
no_std: Option<bool>,
}
Expand description
TOML representation of how each build target is configured.
Fields§
§cc: Option<String>
§cxx: Option<String>
§ar: Option<String>
§ranlib: Option<String>
§default_linker: Option<PathBuf>
§linker: Option<String>
§llvm_config: Option<String>
§llvm_has_rust_patches: Option<bool>
§llvm_filecheck: Option<String>
§llvm_libunwind: Option<String>
§android_ndk: Option<String>
§sanitizers: Option<bool>
§profiler: Option<StringOrBool>
§rpath: Option<bool>
§crt_static: Option<bool>
§musl_root: Option<String>
§musl_libdir: Option<String>
§wasi_root: Option<String>
§qemu_rootfs: Option<String>
§no_std: Option<bool>
Trait Implementations§
source§impl<'de> Deserialize<'de> for TomlTarget
impl<'de> Deserialize<'de> for TomlTarget
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Merge for TomlTarget
impl Merge for TomlTarget
fn merge(&mut self, other: Self, replace: ReplaceOpt)
Auto Trait Implementations§
impl RefUnwindSafe for TomlTarget
impl Send for TomlTarget
impl Sync for TomlTarget
impl Unpin for TomlTarget
impl UnwindSafe for TomlTarget
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> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
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: 376 bytes