From 50a62b3d4233b580b83fcba417bcc6c1ff2ad0b3 Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 11 Aug 2021 12:18:13 +0800 Subject: [PATCH] liballoc: change align to 16 bytes --- artiq/firmware/liballoc_list/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/liballoc_list/lib.rs b/artiq/firmware/liballoc_list/lib.rs index f01262007..8af134b0e 100644 --- a/artiq/firmware/liballoc_list/lib.rs +++ b/artiq/firmware/liballoc_list/lib.rs @@ -4,7 +4,7 @@ use core::{ptr, mem, fmt}; use core::alloc::{GlobalAlloc, Layout}; // The minimum alignment guaranteed by the architecture. -const MIN_ALIGN: usize = 4; +const MIN_ALIGN: usize = 16; const MAGIC_FREE: usize = 0xDEADDEAD; const MAGIC_BUSY: usize = 0xFEEDFEED;