diff options
Diffstat (limited to 'meta/classes/rust-common.bbclass')
-rw-r--r-- | meta/classes/rust-common.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass index 1bce7761ab..adcf96f0cd 100644 --- a/meta/classes/rust-common.bbclass +++ b/meta/classes/rust-common.bbclass | |||
@@ -1,4 +1,5 @@ | |||
1 | inherit python3native | 1 | inherit python3native |
2 | inherit rust-target-config | ||
2 | 3 | ||
3 | # Common variables used by all Rust builds | 4 | # Common variables used by all Rust builds |
4 | export rustlibdir = "${libdir}/rust" | 5 | export rustlibdir = "${libdir}/rust" |
@@ -10,7 +11,6 @@ RUSTLIB = "-L ${STAGING_LIBDIR}/rust" | |||
10 | RUST_DEBUG_REMAP = "--remap-path-prefix=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" | 11 | RUST_DEBUG_REMAP = "--remap-path-prefix=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" |
11 | RUSTFLAGS += "${RUSTLIB} ${RUST_DEBUG_REMAP}" | 12 | RUSTFLAGS += "${RUSTLIB} ${RUST_DEBUG_REMAP}" |
12 | RUSTLIB_DEP ?= "libstd-rs" | 13 | RUSTLIB_DEP ?= "libstd-rs" |
13 | export RUST_TARGET_PATH = "${STAGING_LIBDIR_NATIVE}/rustlib" | ||
14 | RUST_PANIC_STRATEGY ?= "unwind" | 14 | RUST_PANIC_STRATEGY ?= "unwind" |
15 | 15 | ||
16 | # Native builds are not effected by TCLIBC. Without this, rust-native | 16 | # Native builds are not effected by TCLIBC. Without this, rust-native |