about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-29 06:14:17 +0100
committerGitHub <noreply@github.com>2023-01-29 06:14:17 +0100
commit33da3c3df02bb4108af3ac726eabe759109dc972 (patch)
tree9ded7ee297ec2a6b5dc5ea6db8debed394c6fcbb /library/std/src/sys
parent4caa9dfa71ffc87e6fadce3d7ba2f3f97f908930 (diff)
parent8f70b5ccb7beda26ce7b012261110cd10890cb1f (diff)
downloadrust-33da3c3df02bb4108af3ac726eabe759109dc972.tar.gz
rust-33da3c3df02bb4108af3ac726eabe759109dc972.zip
Rollup merge of #107154 - glaubitz:m68k-alloc, r=JohnTitor
library/std/sys_common: Define MIN_ALIGN for m68k-unknown-linux-gnu

This PR adds the missing definition of MIN_ALIGN for the m68k-unknown-linux target.
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/common/alloc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/common/alloc.rs b/library/std/src/sys/common/alloc.rs
index 3edbe728077..403a5e627f1 100644
--- a/library/std/src/sys/common/alloc.rs
+++ b/library/std/src/sys/common/alloc.rs
@@ -7,6 +7,7 @@ use crate::ptr;
 #[cfg(any(
     target_arch = "x86",
     target_arch = "arm",
+    target_arch = "m68k",
     target_arch = "mips",
     target_arch = "powerpc",
     target_arch = "powerpc64",