blob: ce6c983fc0b5cbad6cde372c6339caccba70a436 [file] [log] [blame]
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05001SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust"
Patrick Williams92b42cb2022-09-03 06:53:57 -05002SRC_URI[rust.sha256sum] = "8f44af6dc44cc4146634a4dd5e4cc5470b3052a2337019b870c0e025e8987e0c"
3
4SRC_URI:append:class-target:pn-rust = " \
5 file://hardcodepaths.patch \
6 file://crossbeam_atomic.patch \
7 file://0001-Add-ENOTSUP-constant-for-riscv32-musl.patch"
8SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05009
10RUSTSRC = "${WORKDIR}/rustc-${PV}-src"
11
12UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
13UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"