diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index b14221b6cb..ed15d9c763 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -1,24 +1,22 @@ | |||
1 | RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" | 1 | RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" |
2 | 2 | ||
3 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ | 3 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ |
4 | file://hardcodepaths.patch;patchdir=${RUSTSRC} \ | 4 | file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${RUSTSRC} \ |
5 | file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ | 5 | file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ |
6 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ | 6 | file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ |
7 | file://rv32-missing-syscalls.patch;patchdir=${RUSTSRC} \ | 7 | file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ |
8 | file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \ | 8 | file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ |
9 | file://rv32-cargo-rustix-0.38.19-fix.patch;patchdir=${RUSTSRC} \ | 9 | file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ |
10 | file://cargo-path.patch;patchdir=${RUSTSRC} \ | 10 | file://0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch;patchdir=${RUSTSRC} \ |
11 | file://custom-target-cfg.patch;patchdir=${RUSTSRC} \ | 11 | file://0001-Disable-libunwind-cross-architecture-unwinding.patch;patchdir=${RUSTSRC} \ |
12 | file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \ | 12 | file://triagebot.patch;patchdir=${RUSTSRC} \ |
13 | file://target-build-value.patch;patchdir=${RUSTSRC} \ | ||
14 | file://0001-Handle-vendored-sources-when-remapping-paths.patch;patchdir=${RUSTSRC} \ | ||
15 | file://repro-issue-fix-with-v175.patch;patchdir=${RUSTSRC} \ | ||
16 | " | 13 | " |
17 | SRC_URI[rust.sha256sum] = "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340" | 14 | SRC_URI[rust.sha256sum] = "8623b8651893e8c6aebfa45b6a90645a4f652f7b18189a0992a90d11ac2631f4" |
18 | 15 | ||
19 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" | 16 | RUSTSRC = "${UNPACKDIR}/rustc-${RUST_VERSION}-src" |
20 | 17 | ||
21 | UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" | 18 | UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" |
22 | UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" | 19 | UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" |
23 | 20 | ||
24 | CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows" | 21 | CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows" |
22 | CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies on Windows" | ||