]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust: use rust-snapshot binaries only in rust-native
authorAlexander Kanavin <alex@linutronix.de>
Tue, 21 May 2024 12:50:39 +0000 (14:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 May 2024 14:08:59 +0000 (15:08 +0100)
commit8f2230cb51fe22ef4711a56fecfab4858c04e35b
treed6861b0d8e059f2f75bdaf10f6a91dc52e4feb9a
parent924df18b47e9a69fa295bafe37bdb39d8eaea2bb
rust: use rust-snapshot binaries only in rust-native

Otherwise, use rust-native and cargo-native binaries as that allows
our native tweaks in them to be used for target/nativesdk rust -
same as for everything else written in rust.

In particular, this allows building target rust with
cargo-native that includes important reproducibility tweaks.

Unfortunately, this also breaks rust selftest, and that
is partially addressed by the following commit.

[YOCTO #15185]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust_1.75.0.bb