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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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
}