Home
last modified time | relevance | path

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

/external/rust/crates/bindgen/src/codegen/
Dmod.rs130 if ctx.options().rust_features().builtin_clone_impls || in derives_of_item()
908 ctx.options().rust_features().repr_transparent, in codegen()
1866 if !ctx.options().rust_features.repr_align { in codegen()
1936 assert!(ctx.options().rust_features().repr_packed_n || n == 1); in codegen()
1947 if ctx.options().rust_features().repr_align { in codegen()
2058 !ctx.options().rust_features().repr_align in codegen()
2310 (signature.abi(), ctx.options().rust_features().thiscall_abi) in codegen_method()
2368 .rust_features() in codegen_method()
2400 stmts.push(if ctx.options().rust_features().maybe_uninit { in codegen_method()
2419 ctx.options().rust_features().must_use_function in codegen_method()
[all …]
Dhelpers.rs150 ctx.options().rust_features.core_ffi_c_void in c_void()
211 if ctx.options().rust_features.i128_and_u128 { in float_kind_rust_type()
Dstruct_layout.rs288 let repr_align = self.ctx.options().rust_features().repr_align; in pad_struct()
321 let repr_align = self.ctx.options().rust_features().repr_align; in requires_explicit_align()
Dimpl_partialeq.rs22 assert!(!ctx.options().rust_features().untagged_union); in gen_partialeq_impl()
/external/rust/crates/bindgen/src/ir/analysis/
Dderive.rs174 self.ctx.options().rust_features().untagged_union in constrain_type()
324 if self.ctx.options().rust_features().untagged_union && in constrain_type()
336 if self.ctx.options().rust_features().untagged_union { in constrain_type()
/external/rust/crates/bindgen/src/ir/
Dlayout.rs42 16 if ctx.options().rust_features.i128_and_u128 => "u128", in known_type_for_size()
Dcomp.rs1651 if !ctx.options().rust_features().untagged_union { in can_be_rust_union()
1763 if !ctx.options().rust_features().repr_packed_n { in is_opaque()
/external/rust/crates/bindgen/src/
Dlib.rs250 if !self.options.rust_features.untagged_union && in command_line_flags()
634 self.options.rust_features.untagged_union = false; in disable_untagged_union()
1848 rust_features: RustFeatures, field
1945 self.rust_features = rust_target.into(); in set_rust_target()
1949 pub fn rust_features(&self) -> RustFeatures { in rust_features() method
1950 self.rust_features in rust_features()
1960 rust_features: rust_target.into(), in default()