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://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${RUSTSRC} \ 5 file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ 6 file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ 7 file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ 8 file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ 9 file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ 10 file://Zdual-proc-macros-additional-check.patch;patchdir=${RUSTSRC} \ 11 file://0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch;patchdir=${RUSTSRC} \ 12 file://0001-Disable-libunwind-cross-architecture-unwinding.patch;patchdir=${RUSTSRC} \ 13" 14SRC_URI[rust.sha256sum] = "b1fbf809efe9f036939401e142631c201a53bcf43ec1696bd9f5290ba236a266" 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