struct TargetSpecJson {Show 117 fields
llvm_target: Cow<'static, str>,
target_pointer_width: String,
data_layout: Cow<'static, str>,
arch: Cow<'static, str>,
metadata: Option<TargetSpecJsonMetadata>,
target_endian: Option<EndianWrapper>,
frame_pointer: Option<FramePointer>,
c_int_width: Option<u16>,
c_enum_min_bits: Option<u64>,
os: Option<Cow<'static, str>>,
env: Option<Cow<'static, str>>,
abi: Option<Cow<'static, str>>,
vendor: Option<Cow<'static, str>>,
linker: Option<Cow<'static, str>>,
linker_flavor_json: Option<LinkerFlavorCli>,
lld_flavor_json: Option<LldFlavor>,
linker_is_gnu_json: Option<bool>,
pre_link_objects: Option<CrtObjects>,
post_link_objects: Option<CrtObjects>,
pre_link_objects_self_contained: Option<CrtObjects>,
post_link_objects_self_contained: Option<CrtObjects>,
link_self_contained_backwards_compatible: Option<LinkSelfContainedDefault>,
link_self_contained: Option<LinkSelfContainedComponentsWrapper>,
pre_link_args_json: Option<LinkArgsCli>,
late_link_args_json: Option<LinkArgsCli>,
late_link_args_dynamic_json: Option<LinkArgsCli>,
late_link_args_static_json: Option<LinkArgsCli>,
post_link_args_json: Option<LinkArgsCli>,
link_script: Option<Cow<'static, str>>,
link_env: Option<Vec<Cow<'static, str>>>,
link_env_remove: Option<Cow<'static, [Cow<'static, str>]>>,
asm_args: Option<Cow<'static, [Cow<'static, str>]>>,
cpu: Option<Cow<'static, str>>,
need_explicit_cpu: Option<bool>,
features: Option<Cow<'static, str>>,
dynamic_linking: Option<bool>,
direct_access_external_data: Option<bool>,
dll_tls_export: Option<bool>,
only_cdylib: Option<bool>,
executables: Option<bool>,
relocation_model: Option<RelocModel>,
code_model: Option<CodeModel>,
tls_model: Option<TlsModel>,
disable_redzone: Option<bool>,
function_sections: Option<bool>,
dll_prefix: Option<Cow<'static, str>>,
dll_suffix: Option<Cow<'static, str>>,
exe_suffix: Option<Cow<'static, str>>,
staticlib_prefix: Option<Cow<'static, str>>,
staticlib_suffix: Option<Cow<'static, str>>,
target_family: Option<TargetFamiliesJson>,
abi_return_struct_as_int: Option<bool>,
is_like_aix: Option<bool>,
is_like_darwin: Option<bool>,
is_like_solaris: Option<bool>,
is_like_windows: Option<bool>,
is_like_msvc: Option<bool>,
is_like_wasm: Option<bool>,
is_like_android: Option<bool>,
is_like_vexos: Option<bool>,
binary_format: Option<BinaryFormat>,
default_dwarf_version: Option<u32>,
allows_weak_linkage: Option<bool>,
has_rpath: Option<bool>,
no_default_libraries: Option<bool>,
position_independent_executables: Option<bool>,
static_position_independent_executables: Option<bool>,
plt_by_default: Option<bool>,
relro_level: Option<RelroLevel>,
archive_format: Option<Cow<'static, str>>,
allow_asm: Option<bool>,
main_needs_argc_argv: Option<bool>,
has_thread_local: Option<bool>,
obj_is_bitcode: Option<bool>,
max_atomic_width: Option<u64>,
min_atomic_width: Option<u64>,
atomic_cas: Option<bool>,
panic_strategy: Option<PanicStrategy>,
crt_static_allows_dylibs: Option<bool>,
crt_static_default: Option<bool>,
crt_static_respected: Option<bool>,
stack_probes: Option<StackProbeType>,
min_global_align: Option<u64>,
default_codegen_units: Option<u64>,
default_codegen_backend: Option<Cow<'static, str>>,
trap_unreachable: Option<bool>,
requires_lto: Option<bool>,
singlethread: Option<bool>,
no_builtins: Option<bool>,
default_visibility: Option<SymbolVisibility>,
emit_debug_gdb_scripts: Option<bool>,
requires_uwtable: Option<bool>,
default_uwtable: Option<bool>,
simd_types_indirect: Option<bool>,
limit_rdylib_exports: Option<bool>,
override_export_symbols: Option<Cow<'static, [Cow<'static, str>]>>,
merge_functions: Option<MergeFunctions>,
mcount: Option<Cow<'static, str>>,
llvm_mcount_intrinsic: Option<Cow<'static, str>>,
llvm_abiname: Option<Cow<'static, str>>,
llvm_floatabi: Option<FloatAbi>,
rustc_abi: Option<RustcAbi>,
relax_elf_relocations: Option<bool>,
llvm_args: Option<Cow<'static, [Cow<'static, str>]>>,
use_ctors_section: Option<bool>,
eh_frame_header: Option<bool>,
has_thumb_interworking: Option<bool>,
debuginfo_kind: Option<DebuginfoKind>,
split_debuginfo: Option<SplitDebuginfo>,
supported_split_debuginfo: Option<Cow<'static, [SplitDebuginfo]>>,
supported_sanitizers: Option<Vec<SanitizerSet>>,
generate_arange_section: Option<bool>,
supports_stack_protector: Option<bool>,
small_data_threshold_support: Option<SmallDataThresholdSupport>,
entry_name: Option<Cow<'static, str>>,
supports_xray: Option<bool>,
entry_abi: Option<ExternAbiWrapper>,
}
Fields§
§llvm_target: Cow<'static, str>
§target_pointer_width: String
§data_layout: Cow<'static, str>
§arch: Cow<'static, str>
§metadata: Option<TargetSpecJsonMetadata>
§target_endian: Option<EndianWrapper>
§frame_pointer: Option<FramePointer>
§c_int_width: Option<u16>
§c_enum_min_bits: Option<u64>
§os: Option<Cow<'static, str>>
§env: Option<Cow<'static, str>>
§abi: Option<Cow<'static, str>>
§vendor: Option<Cow<'static, str>>
§linker: Option<Cow<'static, str>>
§linker_flavor_json: Option<LinkerFlavorCli>
§lld_flavor_json: Option<LldFlavor>
§linker_is_gnu_json: Option<bool>
§pre_link_objects: Option<CrtObjects>
§post_link_objects: Option<CrtObjects>
§pre_link_objects_self_contained: Option<CrtObjects>
§post_link_objects_self_contained: Option<CrtObjects>
§link_self_contained_backwards_compatible: Option<LinkSelfContainedDefault>
§link_self_contained: Option<LinkSelfContainedComponentsWrapper>
§pre_link_args_json: Option<LinkArgsCli>
§late_link_args_json: Option<LinkArgsCli>
§late_link_args_dynamic_json: Option<LinkArgsCli>
§late_link_args_static_json: Option<LinkArgsCli>
§post_link_args_json: Option<LinkArgsCli>
§link_script: Option<Cow<'static, str>>
§link_env: Option<Vec<Cow<'static, str>>>
§link_env_remove: Option<Cow<'static, [Cow<'static, str>]>>
§asm_args: Option<Cow<'static, [Cow<'static, str>]>>
§cpu: Option<Cow<'static, str>>
§need_explicit_cpu: Option<bool>
§features: Option<Cow<'static, str>>
§dynamic_linking: Option<bool>
§direct_access_external_data: Option<bool>
§dll_tls_export: Option<bool>
§only_cdylib: Option<bool>
§executables: Option<bool>
§relocation_model: Option<RelocModel>
§code_model: Option<CodeModel>
§tls_model: Option<TlsModel>
§disable_redzone: Option<bool>
§function_sections: Option<bool>
§dll_prefix: Option<Cow<'static, str>>
§dll_suffix: Option<Cow<'static, str>>
§exe_suffix: Option<Cow<'static, str>>
§staticlib_prefix: Option<Cow<'static, str>>
§staticlib_suffix: Option<Cow<'static, str>>
§target_family: Option<TargetFamiliesJson>
§abi_return_struct_as_int: Option<bool>
§is_like_aix: Option<bool>
§is_like_darwin: Option<bool>
§is_like_solaris: Option<bool>
§is_like_windows: Option<bool>
§is_like_msvc: Option<bool>
§is_like_wasm: Option<bool>
§is_like_android: Option<bool>
§is_like_vexos: Option<bool>
§binary_format: Option<BinaryFormat>
§default_dwarf_version: Option<u32>
§allows_weak_linkage: Option<bool>
§has_rpath: Option<bool>
§no_default_libraries: Option<bool>
§position_independent_executables: Option<bool>
§static_position_independent_executables: Option<bool>
§plt_by_default: Option<bool>
§relro_level: Option<RelroLevel>
§archive_format: Option<Cow<'static, str>>
§allow_asm: Option<bool>
§main_needs_argc_argv: Option<bool>
§has_thread_local: Option<bool>
§obj_is_bitcode: Option<bool>
§max_atomic_width: Option<u64>
§min_atomic_width: Option<u64>
§atomic_cas: Option<bool>
§panic_strategy: Option<PanicStrategy>
§crt_static_allows_dylibs: Option<bool>
§crt_static_default: Option<bool>
§crt_static_respected: Option<bool>
§stack_probes: Option<StackProbeType>
§min_global_align: Option<u64>
§default_codegen_units: Option<u64>
§default_codegen_backend: Option<Cow<'static, str>>
§trap_unreachable: Option<bool>
§requires_lto: Option<bool>
§singlethread: Option<bool>
§no_builtins: Option<bool>
§default_visibility: Option<SymbolVisibility>
§emit_debug_gdb_scripts: Option<bool>
§requires_uwtable: Option<bool>
§default_uwtable: Option<bool>
§simd_types_indirect: Option<bool>
§limit_rdylib_exports: Option<bool>
§override_export_symbols: Option<Cow<'static, [Cow<'static, str>]>>
§merge_functions: Option<MergeFunctions>
§mcount: Option<Cow<'static, str>>
§llvm_mcount_intrinsic: Option<Cow<'static, str>>
§llvm_abiname: Option<Cow<'static, str>>
§llvm_floatabi: Option<FloatAbi>
§rustc_abi: Option<RustcAbi>
§relax_elf_relocations: Option<bool>
§llvm_args: Option<Cow<'static, [Cow<'static, str>]>>
§use_ctors_section: Option<bool>
§eh_frame_header: Option<bool>
§has_thumb_interworking: Option<bool>
§debuginfo_kind: Option<DebuginfoKind>
§split_debuginfo: Option<SplitDebuginfo>
§supported_split_debuginfo: Option<Cow<'static, [SplitDebuginfo]>>
§supported_sanitizers: Option<Vec<SanitizerSet>>
§generate_arange_section: Option<bool>
§supports_stack_protector: Option<bool>
§small_data_threshold_support: Option<SmallDataThresholdSupport>
§entry_name: Option<Cow<'static, str>>
§supports_xray: Option<bool>
§entry_abi: Option<ExternAbiWrapper>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TargetSpecJson
impl<'de> Deserialize<'de> for TargetSpecJson
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
Auto Trait Implementations§
impl DynSend for TargetSpecJson
impl DynSync for TargetSpecJson
impl Freeze for TargetSpecJson
impl RefUnwindSafe for TargetSpecJson
impl Send for TargetSpecJson
impl Sync for TargetSpecJson
impl Unpin for TargetSpecJson
impl UnwindSafe for TargetSpecJson
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> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync 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: 1328 bytes