diff --git a/programs/bpf_loader/src/syscalls.rs b/programs/bpf_loader/src/syscalls.rs index 5007dcd518..f45ea9eb14 100644 --- a/programs/bpf_loader/src/syscalls.rs +++ b/programs/bpf_loader/src/syscalls.rs @@ -4908,5 +4908,7 @@ mod tests { fn test_check_type_assumptions() { // Code in this file assumes that u64 and usize are the same assert_eq!(size_of::(), size_of::()); + // Code in this file assumes that u8 is byte aligned + assert_eq!(1, align_of::()); } }