From d6695e4c2654877c07b6147bf3867af2b9454694 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Sun, 25 Feb 2024 13:42:14 +0100 Subject: fix data layout for LLVM x86_64-unknown-none target. Honstly I don't understand this, if the data layout has to be exactly the same as the LLVM target default, what's the point of being able to specify it? And, this field is mandatory! Also my privious layout DOES NOT CONFLICT with the target default, it's just a subset! And the compiler is complaining... WHAT????? --- x86_64-rustubs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86_64-rustubs.json b/x86_64-rustubs.json index 2e90078..93512ed 100644 --- a/x86_64-rustubs.json +++ b/x86_64-rustubs.json @@ -1,6 +1,6 @@ { "llvm-target": "x86_64-unknown-none", - "data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", + "data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128", "linker-flavor": "gcc", "target-endian": "little", "target-pointer-width": "64", -- cgit v1.2.3-70-g09d2