rust-source.inc 1.3 KB

123456789101112131415161718192021
  1. RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}"
  2. SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \
  3. file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${RUSTSRC} \
  4. file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \
  5. file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \
  6. file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \
  7. file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \
  8. file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \
  9. file://0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch;patchdir=${RUSTSRC} \
  10. file://0001-Disable-libunwind-cross-architecture-unwinding.patch;patchdir=${RUSTSRC} \
  11. "
  12. SRC_URI[rust.sha256sum] = "d939eada065dc827a9d4dbb55bd48533ad14c16e7f0a42e70147029c82a7707b"
  13. RUSTSRC = "${UNPACKDIR}/rustc-${RUST_VERSION}-src"
  14. UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
  15. UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
  16. CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows"
  17. CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies on Windows"