We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c7d5832 + 098f4fb commit 5854fedCopy full SHA for 5854fed
src/liballoc_system/lib.rs
@@ -29,13 +29,13 @@ extern crate libc;
29
// The minimum alignment guaranteed by the architecture. This value is used to
30
// add fast paths for low alignment values. In practice, the alignment is a
31
// constant at the call site and the branch will be optimized out.
32
-#[cfg(all(any(target_arch = "arm",
+#[cfg(all(any(target_arch = "x86",
33
+ target_arch = "arm",
34
target_arch = "mips",
35
target_arch = "mipsel",
36
target_arch = "powerpc")))]
37
const MIN_ALIGN: usize = 8;
-#[cfg(all(any(target_arch = "x86",
38
- target_arch = "x86_64",
+#[cfg(all(any(target_arch = "x86_64",
39
target_arch = "aarch64")))]
40
const MIN_ALIGN: usize = 16;
41
0 commit comments