From 5668e80c8cae52d30dc742e2f8d223b13b3c4cb2 Mon Sep 17 00:00:00 2001 From: Sam Kearney Date: Thu, 8 Jun 2023 09:32:25 -0700 Subject: [PATCH] Fix alignment of 64-bit ints on x86 QNX 7.0 --- compiler/rustc_target/src/spec/i586_pc_nto_qnx700.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_target/src/spec/i586_pc_nto_qnx700.rs b/compiler/rustc_target/src/spec/i586_pc_nto_qnx700.rs index 68afa7fe40127..81f09a614dd08 100644 --- a/compiler/rustc_target/src/spec/i586_pc_nto_qnx700.rs +++ b/compiler/rustc_target/src/spec/i586_pc_nto_qnx700.rs @@ -6,7 +6,7 @@ pub fn target() -> Target { llvm_target: "i586-pc-unknown".into(), pointer_width: 32, data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\ - f64:32:64-f80:32-n8:16:32-S128" + i64:64-f64:32:64-f80:32-n8:16:32-S128" .into(), arch: "x86".into(), options: TargetOptions {