pub unsafe extern "C" fn validator_options_set_relax_store_struct(
opts: *mut ValidatorOptions,
toggle: bool
)
Expand description
Record whether or not the validator should relax the rules on types for stores to structs. When relaxed, it will allow a type mismatch as long as the types are structs with the same layout. Two structs have the same layout if
-
the members of the structs are either the same type or are structs with same layout, and
-
the decorations that affect the memory layout are identical for both types. Other decorations are not relevant.