aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-04-25 17:42:46 +0300
committerpravic <[email protected]>2016-04-25 17:42:46 +0300
commit66fe0fe3db3874783d1c0f51ec34d98e88888c8e (patch)
tree89cb109e4000904d487cc3fe29ebdc9f10b699ca
parentuse km/examples/build.rs to specify lib paths (diff)
downloadkmd-env-rs-66fe0fe3db3874783d1c0f51ec34d98e88888c8e.tar.xz
kmd-env-rs-66fe0fe3db3874783d1c0f51ec34d98e88888c8e.zip
add explicit data-layout fields for the target description
see issue http://github.com/rust-lang/rust/issues/32939 and solution: http://github.com/rust-lang/rust/issues/31367#issuecomment-213595571
-rw-r--r--.cargo/i686-sys-windows-msvc.json2
-rw-r--r--.cargo/x86_64-sys-windows-msvc.json2
2 files changed, 4 insertions, 0 deletions
diff --git a/.cargo/i686-sys-windows-msvc.json b/.cargo/i686-sys-windows-msvc.json
index 68d5039..ddc9bc6 100644
--- a/.cargo/i686-sys-windows-msvc.json
+++ b/.cargo/i686-sys-windows-msvc.json
@@ -1,10 +1,12 @@
{
"_": "Inspired by https://github.com/ryanbreen/breenix/blob/master/x86_64-unknown-none-gnu.json",
"_note": "`is_like_mcvc` works since #32823, nightly 2016-04-12",
+ "_note": "`data-layout` became mandatory since rust-lang/rust#32939, nightly 2016-04-20",
"llvm-target": "i686-pc-windows-msvc",
"target-endian": "little",
"target-pointer-width": "32",
+ "data-layout": "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32",
"oldcpu": "pentium4",
"cpu": "corei7-avx",
diff --git a/.cargo/x86_64-sys-windows-msvc.json b/.cargo/x86_64-sys-windows-msvc.json
index 1c99285..d4f096f 100644
--- a/.cargo/x86_64-sys-windows-msvc.json
+++ b/.cargo/x86_64-sys-windows-msvc.json
@@ -1,10 +1,12 @@
{
"_": "Inspired by https://github.com/ryanbreen/breenix/blob/master/x86_64-unknown-none-gnu.json",
"_note": "`is_like_mcvc` works since #32823, nightly 2016-04-12",
+ "_note": "`data-layout` became mandatory since rust-lang/rust#32939, nightly 2016-04-20",
"llvm-target": "x86_64-pc-windows-msvc",
"target-endian": "little",
"target-pointer-width": "64",
+ "data-layout": "e-m:w-i64:64-f80:128-n8:16:32:64-S128",
"cpu": "x86-64",
"features": "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2",