diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2023-12-29 11:44:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-30 11:03:08 +0000 |
commit | 8fd396bc3dc18101bc0e9cc34b7ed25d24b6cfea (patch) | |
tree | 0bf2dcb9a6588b88ef85abfaf5bbd4b561ce72e7 /meta/recipes-devtools/rust/rust-source.inc | |
parent | 537ed2b654bbc44a84ad193feffee967355f6c65 (diff) | |
download | poky-8fd396bc3dc18101bc0e9cc34b7ed25d24b6cfea.tar.gz |
rust: Upgrade 1.73.0 -> 1.74.0
Replace musl fixes with backports from upstream.
Add sysconfdir to config.toml to fix:
| thread 'main' panicked at install.rs:92:9:
| User doesn't have write access on `install.sysconfdir` path in `config.toml`.
https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html
(From OE-Core rev: 84f46dd2503bb0ef238fef0097c66fda88f6cbda)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index c2a64c061a..e8dafe59c9 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -2,12 +2,16 @@ 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://hardcodepaths.patch;patchdir=${RUSTSRC} \ |
5 | file://0001-Do-not-use-LFS64-on-linux-with-musl.patch;patchdir=${RUSTSRC} \ | 5 | file://0001-Don-t-use-LFS64-symbols-on-musl.patch;patchdir=${RUSTSRC} \ |
6 | file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ | 6 | file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ |
7 | file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \ | 7 | file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=${RUSTSRC} \ |
8 | file://0002-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=${RUSTSRC} \ | ||
9 | file://0003-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=${RUSTSRC} \ | ||
10 | file://0004-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${RUSTSRC} \ | ||
11 | file://0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \ | ||
8 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ | 12 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ |
9 | " | 13 | " |
10 | SRC_URI[rust.sha256sum] = "6eaf672dbea2e6596af8c999f5e6924b9af4bb8b02166bfe0b928e68aa75ae62" | 14 | SRC_URI[rust.sha256sum] = "23705e38c1a37acfd7fbb921c5dd8772619476e80d0b3b39ac8eb45bc0c33187" |
11 | 15 | ||
12 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" | 16 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" |
13 | 17 | ||