summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-05 17:36:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-05 17:41:09 +0100
commit0bf2fd16273436f1cd9ea2ab99ad882e879f965d (patch)
treee3bdb4576dde68e02fc27404849fe2068f25285d /meta/recipes-devtools/rust
parent12b4074675bc8794650ebc9fbb9f3af6c5cc3b15 (diff)
downloadpoky-0bf2fd16273436f1cd9ea2ab99ad882e879f965d.tar.gz
Revert "meta: rust: Bug fix for target definitions returning 'NoneType'"
This reverts commit ef49f89c89889466ee3696ab680f8e10c961a677. This appears to cause build failures which didn't originally show up in testing, reverting for now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust')
-rw-r--r--meta/recipes-devtools/rust/rust-common.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc
index 130ab600db..310aecef22 100644
--- a/meta/recipes-devtools/rust/rust-common.inc
+++ b/meta/recipes-devtools/rust/rust-common.inc
@@ -119,22 +119,22 @@ def llvm_features(d):
119 119
120 120
121## arm-unknown-linux-gnueabihf 121## arm-unknown-linux-gnueabihf
122DATA_LAYOUT[arm] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" 122DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
123LLVM_TARGET[arm] = "${RUST_TARGET_SYS}" 123LLVM_TARGET[arm-eabi] = "${RUST_TARGET_SYS}"
124TARGET_ENDIAN[arm] = "little" 124TARGET_ENDIAN[arm-eabi] = "little"
125TARGET_POINTER_WIDTH[arm] = "32" 125TARGET_POINTER_WIDTH[arm-eabi] = "32"
126TARGET_C_INT_WIDTH[arm] = "32" 126TARGET_C_INT_WIDTH[arm-eabi] = "32"
127MAX_ATOMIC_WIDTH[arm] = "64" 127MAX_ATOMIC_WIDTH[arm-eabi] = "64"
128FEATURES[arm] = "+v6,+vfp2" 128FEATURES[arm-eabi] = "+v6,+vfp2"
129 129
130## armv7-unknown-linux-gnueabihf 130## armv7-unknown-linux-gnueabihf
131DATA_LAYOUT[armv7] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" 131DATA_LAYOUT[armv7-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
132LLVM_TARGET[armv7] = "${RUST_TARGET_SYS}" 132LLVM_TARGET[armv7-eabi] = "${RUST_TARGET_SYS}"
133TARGET_ENDIAN[armv7] = "little" 133TARGET_ENDIAN[armv7-eabi] = "little"
134TARGET_POINTER_WIDTH[armv7] = "32" 134TARGET_POINTER_WIDTH[armv7-eabi] = "32"
135TARGET_C_INT_WIDTH[armv7] = "32" 135TARGET_C_INT_WIDTH[armv7-eabi] = "32"
136MAX_ATOMIC_WIDTH[armv7] = "64" 136MAX_ATOMIC_WIDTH[armv7-eabi] = "64"
137FEATURES[armv7] = "+v7,+vfp2,+thumb2" 137FEATURES[armv7-eabi] = "+v7,+vfp2,+thumb2"
138 138
139## aarch64-unknown-linux-{gnu, musl} 139## aarch64-unknown-linux-{gnu, musl}
140DATA_LAYOUT[aarch64] = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" 140DATA_LAYOUT[aarch64] = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"