We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b778f commit f3fe399Copy full SHA for f3fe399
src/tools/miri/src/shims/foreign_items.rs
@@ -46,7 +46,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
46
// This list should be kept in sync with the one from libstd.
47
let min_align = match this.tcx.sess.target.arch.as_ref() {
48
"x86" | "arm" | "mips" | "powerpc" | "powerpc64" | "asmjs" | "wasm32" => 8,
49
- "x86_64" | "aarch64" | "mips64" | "s390x" | "sparc64" => 16,
+ "x86_64" | "aarch64" | "mips64" | "s390x" | "sparc64" | "loongarch64" => 16,
50
arch => bug!("unsupported target architecture for malloc: `{}`", arch),
51
};
52
// Windows always aligns, even small allocations.
0 commit comments