summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-10 21:46:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 11:46:26 +0100
commit83e7f668ae6b697bfb89eaee80609bd8d509ba71 (patch)
tree9be2365800400a2b44c8a7c68cbf08a7627c4285 /meta/recipes-devtools/rust
parent883aea9b6e02f796d11d46f5c2a82ea620c19797 (diff)
downloadpoky-83e7f668ae6b697bfb89eaee80609bd8d509ba71.tar.gz
rust: Remove unneeded RUST_TARGETGENS settings
These match the default from the class so drop them. We then always generate all targets so remove the configuration from the class. (From OE-Core rev: e4d56256936c55bab2bf2934ccbde9157ef7dc57) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust')
-rw-r--r--meta/recipes-devtools/rust/libstd-rs.inc3
-rw-r--r--meta/recipes-devtools/rust/rust.inc2
2 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs.inc b/meta/recipes-devtools/rust/libstd-rs.inc
index 1498b88f0e..d49383ced5 100644
--- a/meta/recipes-devtools/rust/libstd-rs.inc
+++ b/meta/recipes-devtools/rust/libstd-rs.inc
@@ -12,9 +12,6 @@ DEPENDS:append:libc-musl = " libunwind"
12DEPENDS:remove:riscv32 = "libunwind" 12DEPENDS:remove:riscv32 = "libunwind"
13DEPENDS:remove:riscv64 = "libunwind" 13DEPENDS:remove:riscv64 = "libunwind"
14 14
15
16RUST_TARGETGENS = "BUILD HOST TARGET"
17
18# Embed bitcode in order to allow compiling both with and without LTO 15# Embed bitcode in order to allow compiling both with and without LTO
19RUSTFLAGS += "-Cembed-bitcode=yes" 16RUSTFLAGS += "-Cembed-bitcode=yes"
20# Needed so cargo can find libbacktrace 17# Needed so cargo can find libbacktrace
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc
index 7e302b5992..284347dedc 100644
--- a/meta/recipes-devtools/rust/rust.inc
+++ b/meta/recipes-devtools/rust/rust.inc
@@ -34,8 +34,6 @@ setup_cargo_environment () {
34 34
35inherit rust-target-config 35inherit rust-target-config
36 36
37RUST_TARGETGENS = "BUILD HOST TARGET"
38
39do_rust_setup_snapshot () { 37do_rust_setup_snapshot () {
40 for installer in "${WORKDIR}/rust-snapshot-components/"*"/install.sh"; do 38 for installer in "${WORKDIR}/rust-snapshot-components/"*"/install.sh"; do
41 "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig 39 "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig