aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2024-02-25 13:42:14 +0100
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:13:39 +0200
commitd6695e4c2654877c07b6147bf3867af2b9454694 (patch)
tree063c1f86877cb4e311b6b7e74e8c1912c0538c70
parent50cb93eb1f3eeb8ce9446d8c5ffbd07ba8e7707e (diff)
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?????
-rw-r--r--x86_64-rustubs.json2
1 files changed, 1 insertions, 1 deletions
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",