pub struct Options {
pub strict_aliasing: bool,
}Expand description
What the command line turns off.
One field, because there is one flag. Section 41.9 asks that -fno-strict-aliasing disable
the type-based component and nothing else, exactly as gcc/alias.cc:420 and :556 do, and the
way to make that true rather than hoped for is to have one condition in one place.
Fields§
§strict_aliasing: boolWhether the type-based layer is consulted. GCC’s default at -O2 is on and rucc matches
it, so -fno-strict-aliasing is what clears this.
Trait Implementations§
impl Copy for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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