Skip to content

Instantly share code, notes, and snippets.

@Gankra
Created April 30, 2019 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gankra/2edb412b14daff0c2abe7b2d1dcc6ca2 to your computer and use it in GitHub Desktop.
Save Gankra/2edb412b14daff0c2abe7b2d1dcc6ca2 to your computer and use it in GitHub Desktop.
#[cfg(not(target_os = "freebsd"))]
#[repr(C)]
pub struct ContainsNoExternTy {
pub field: no_extern::NoExternTy,
}
#[cfg(target_os = "freebsd")]
#[repr(C)]
pub struct ContainsNoExternTy {
pub field: u64,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment