Skip to contentSkip to conversation

Kirkstone Rust - native only error

OE-core Joel Winarske 1 participant 1 message Sep 11, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

This resolved the issue - native compilation pass. Found a clue in python3-setuptools-rust-native_1.1.2.bb.

cargo_do_compile:class-native() {

    cd ${S}/${CARGO_SRC_DIR}

    export CARGO_BUILD_TARGET="${HOST_SYS}"
    export CARGO_TARGET_DIR=${S}
    export RUSTFLAGS

    "${CARGO}" build run --verbose
}