diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs index 5a0f860ff844e..0e5aca18ec794 100644 --- a/src/liballoc/heap.rs +++ b/src/liballoc/heap.rs @@ -112,10 +112,10 @@ unsafe fn exchange_free(ptr: *mut u8, size: uint, align: uint) { #[cfg(any(target_arch = "arm", target_arch = "mips", target_arch = "mipsel"))] -static MIN_ALIGN: uint = 8; +const MIN_ALIGN: uint = 8; #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] -static MIN_ALIGN: uint = 16; +const MIN_ALIGN: uint = 16; #[cfg(jemalloc)] mod imp {