Use cargo patching to replace crossbeam-utils with the semver compatible 0.8.14 rather than trying to patch our local changes. This corrects the ppc/mips builds.
Signed-off-by: Alex Kiernan <alex.kier...@gmail.com> --- Changes in v4: - Add crossbeam atomics fixes for ppc/mips meta/recipes-devtools/cargo/cargo_1.66.0.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-devtools/cargo/cargo_1.66.0.bb b/meta/recipes-devtools/cargo/cargo_1.66.0.bb index fe8049b68c9b..909651b9efdd 100644 --- a/meta/recipes-devtools/cargo/cargo_1.66.0.bb +++ b/meta/recipes-devtools/cargo/cargo_1.66.0.bb @@ -14,6 +14,13 @@ LIC_FILES_CHKSUM = " \ require recipes-devtools/rust/rust-source.inc require recipes-devtools/rust/rust-snapshot.inc +# Reuse the path override capability we have to patch in a later version +# of crossbeam-utils which has the vendor misdetection fixes +# (https://github.com/crossbeam-rs/crossbeam/pull/922). This should be +# removed once the upstream source merges the change to include it. +SRC_URI:append:class-target = " crate://crates.io/crossbeam-utils/0.8.14" +EXTRA_OECARGO_PATHS:class-target = "${CARGO_HOME}/bitbake/crossbeam-utils-0.8.14" + S = "${RUSTSRC}/src/tools/cargo" CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" EXCLUDE_FROM_WORLD = "1" -- 2.39.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175004): https://lists.openembedded.org/g/openembedded-core/message/175004 Mute This Topic: https://lists.openembedded.org/mt/95880358/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-