1RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" 2 3SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ 4 file://hardcodepaths.patch;patchdir=${RUSTSRC} \ 5 file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ 6 file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \ 7 file://rv32-cargo-rustix-0.38.28-fix.patch;patchdir=${RUSTSRC} \ 8 file://0001-cargo-do-not-write-host-information-into-compilation.patch;patchdir=${RUSTSRC} \ 9 file://rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch;patchdir=${RUSTSRC} \ 10 file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ 11 file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ 12 file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ 13" 14SRC_URI[rust.sha256sum] = "6ab79b70dc57737a1de378f212fcf8852d67fe6cf272d122a15b3ea13be77947" 15 16RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" 17 18UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" 19UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" 20 21CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows" 22CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies on Windows" 23