Created
May 17, 2015 17:57
-
-
Save jvranish/095642cd55e7b717807e to your computer and use it in GitHub Desktop.
Example that crashes rustc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* automatically generated by rust-bindgen */ | |
#![crate_type="staticlib"] | |
#[derive(Copy)] | |
pub struct StructUnnamed9 { | |
pub _bindgen_bitfield_1_: u32, | |
pub _bindgen_bitfield_2_: u32, | |
pub _bindgen_bitfield_3_: u32, | |
pub _bindgen_bitfield_4_: u32, | |
} | |
impl ::std::clone::Clone for StructUnnamed9 { | |
fn clone(&self) -> StructUnnamed9 { *self } | |
} | |
impl ::std::default::Default for StructUnnamed9 { | |
fn default() -> StructUnnamed9 { unsafe { ::std::mem::zeroed() } } | |
} | |
#[derive(Copy)] | |
pub struct StructUnnamed13 { | |
pub ctrl: u32, | |
pub load: u32, | |
pub val: u32, | |
pub calib: u32, | |
} | |
impl ::std::clone::Clone for StructUnnamed13 { | |
fn clone(&self) -> StructUnnamed13 { *self } | |
} | |
impl ::std::default::Default for StructUnnamed13 { | |
fn default() -> StructUnnamed13 { unsafe { ::std::mem::zeroed() } } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment