message: Fixed segfault in release mode for implement_vertex!
diff: @@ -108,10 +108,15 @@ macro_rules! implement_vertex {
  (
  Cow::Borrowed(stringify!($field_name)),
  {
  - let dummy: &$struct_name = unsafe { ::std::mem::transmute(0usize) };
  - let dummy_field = &dummy.$field_name;
  - let dummy_field: usize = unsafe { ::std::mem::transmute(dummy_field) };
  - dummy_field
  + // calculate the offset of the struct fields
  + let dummy: $struct_name = unsafe { ::std::mem::zeroed() };
  + let offset: usize = {
  + let dummy_ref = &dummy;
  + let field_ref = &dummy.$field_name;
  + (field_ref as *const _ as usize) - (dummy_ref as *const _ as usize)
  + };
  + ::std::mem::forget(dummy);
  + offset
  },
  {
  fn attr_type_of_val<T: $crate::vertex::Attribute>(_: &T)
  