Home
last modified time | relevance | path

Searched refs:rust_features (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs152 if ctx.options().rust_features().builtin_clone_impls || in derives_of_item()
708 .rust_features in codegen()
985 ctx.options().rust_features().repr_transparent, in codegen()
1642 !ctx.options().rust_features().larger_arrays in codegen()
2006 if !ctx.options().rust_features.repr_align { in codegen()
2076 assert!(ctx.options().rust_features().repr_packed_n || n == 1); in codegen()
2087 if ctx.options().rust_features().repr_align { in codegen()
2219 !ctx.options().rust_features().repr_align in codegen()
2353 let body = if ctx.options().rust_features().maybe_uninit { in codegen()
2486 ctx.options().rust_features().thiscall_abi in codegen_method()
[all …]
Dhelpers.rs152 ctx.options().rust_features.core_ffi_c_void in c_void()
173 ctx.options().rust_features().core_ffi_c in raw_type()
223 if ctx.options().rust_features.i128_and_u128 { in float_kind_rust_type()
Dimpl_partialeq.rs21 assert!(!ctx.options().rust_features().untagged_union); in gen_partialeq_impl()
117 ctx.options().rust_features().larger_arrays in gen_field()
Dstruct_layout.rs331 let repr_align = self.ctx.options().rust_features().repr_align; in pad_struct()
364 let repr_align = self.ctx.options().rust_features().repr_align; in requires_explicit_align()
Dimpl_debug.rs184 ctx.options().rust_features().larger_arrays in impl_debug()
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
Dderive.rs175 self.ctx.options().rust_features().untagged_union in constrain_type()
325 if self.ctx.options().rust_features().untagged_union && in constrain_type()
337 if self.ctx.options().rust_features().untagged_union { in constrain_type()
498 if ctx.options().rust_features().larger_arrays { in can_derive_large_array()
/third_party/rust/crates/bindgen/bindgen/ir/
Dlayout.rs42 16 if ctx.options().rust_features.i128_and_u128 => "u128", in known_type_for_size()
Dcomp.rs1698 if !ctx.options().rust_features().untagged_union { in is_rust_union()
1820 if !ctx.options().rust_features().repr_packed_n { in is_opaque()
/third_party/rust/crates/bindgen/bindgen/
Dlib.rs293 if !self.options.rust_features.untagged_union && in command_line_flags()
775 self.options.rust_features.untagged_union = false; in disable_untagged_union()
2099 rust_features: RustFeatures, field
2226 self.rust_features = rust_target.into(); in set_rust_target()
2230 pub fn rust_features(&self) -> RustFeatures { in rust_features() method
2231 self.rust_features in rust_features()
2278 rust_features: rust_target.into(), in default()