Skip to content

Commit 5672c9b

Browse files
jakllschJorge Aparicio
authored and
Jorge Aparicio
committed
liballoc_*: add MIN_ALIGN for sparc64
1 parent 011ebda commit 5672c9b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/liballoc_jemalloc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ mod imp {
8484
target_arch = "aarch64",
8585
target_arch = "powerpc64",
8686
target_arch = "mips64",
87-
target_arch = "s390x")))]
87+
target_arch = "s390x",
88+
target_arch = "sparc64")))]
8889
const MIN_ALIGN: usize = 16;
8990

9091
// MALLOCX_ALIGN(a) macro

src/liballoc_system/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const MIN_ALIGN: usize = 8;
3535
#[cfg(all(any(target_arch = "x86_64",
3636
target_arch = "aarch64",
3737
target_arch = "mips64",
38-
target_arch = "s390x")))]
38+
target_arch = "s390x",
39+
target_arch = "sparc64")))]
3940
const MIN_ALIGN: usize = 16;
4041

4142
#[no_mangle]

0 commit comments

Comments
 (0)