mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-29 05:03:34 +08:00
liballoc: change align to 16 bytes
This commit is contained in:
parent
7f0bc9f7f0
commit
50a62b3d42
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user