mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-20 16:55:05 +00:00
Reduced force_align in tests to 8, to work with --object-api.
More detail: https://github.com/google/flatbuffers/projects/6#card-17401359 See also the .md changes in this commit. Change-Id: Idfa68b2fd3bdb19979833737d3a3cf83ec1d6775
This commit is contained in:
@@ -656,8 +656,8 @@ mod generated_code_alignment_and_padding {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn struct_vec3_is_aligned_to_16() {
|
||||
assert_eq!(16, ::std::mem::align_of::<my_game::example::Vec3>());
|
||||
fn struct_vec3_is_aligned_to_8() {
|
||||
assert_eq!(8, ::std::mem::align_of::<my_game::example::Vec3>());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user