diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 7d1f5347ea..172cd22657 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta/recipes-devtools/rust/rust.inc | |||
@@ -12,9 +12,6 @@ DEPENDS:append:class-native = " rust-llvm-native" | |||
12 | 12 | ||
13 | S = "${RUSTSRC}" | 13 | S = "${RUSTSRC}" |
14 | 14 | ||
15 | # We generate local targets, and need to be able to locate them | ||
16 | export RUST_TARGET_PATH="${WORKDIR}/targets/" | ||
17 | |||
18 | export FORCE_CRATE_HASH="${BB_TASKHASH}" | 15 | export FORCE_CRATE_HASH="${BB_TASKHASH}" |
19 | 16 | ||
20 | RUST_ALTERNATE_EXE_PATH ?= "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config" | 17 | RUST_ALTERNATE_EXE_PATH ?= "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config" |
@@ -40,6 +37,8 @@ setup_cargo_environment () { | |||
40 | 37 | ||
41 | inherit rust-target-config | 38 | inherit rust-target-config |
42 | 39 | ||
40 | RUST_TARGETGENS = "BUILD HOST TARGET" | ||
41 | |||
43 | do_rust_setup_snapshot () { | 42 | do_rust_setup_snapshot () { |
44 | for installer in "${WORKDIR}/rust-snapshot-components/"*"/install.sh"; do | 43 | for installer in "${WORKDIR}/rust-snapshot-components/"*"/install.sh"; do |
45 | "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig | 44 | "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig |