summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/files/hardcodepaths.patch
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2023-01-28 17:39:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-31 17:11:07 +0000
commita10ec437b1387e22a6d09211b4320d5330580f49 (patch)
treedce41f4d113e2f4b531f8e0b88a4cd8d25c18345 /meta/recipes-devtools/rust/files/hardcodepaths.patch
parent4360f7e2c16fae6361f3d8dffb0c34ec71c976ad (diff)
downloadpoky-a10ec437b1387e22a6d09211b4320d5330580f49.tar.gz
rust: Upgrade 1.66.1 -> 1.67.0
Disable ZStd to avoid needing libzstd in llvm (mirrors zlib disable). Generate complete list of rust-snapshot artefacts from src/stage0.json. Drop clippy-driver reproducibility change as the code is gone from upstream. Release notes: https://releases.rs/docs/1.67.0/ License-Update: Unicode-TOU text added (already in our license string) (From OE-Core rev: 4900e0c5cb8a092a1d77d4f26249afa59b241da6) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/files/hardcodepaths.patch')
-rw-r--r--meta/recipes-devtools/rust/files/hardcodepaths.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/meta/recipes-devtools/rust/files/hardcodepaths.patch b/meta/recipes-devtools/rust/files/hardcodepaths.patch
index 178f354cf8..cb99e8b011 100644
--- a/meta/recipes-devtools/rust/files/hardcodepaths.patch
+++ b/meta/recipes-devtools/rust/files/hardcodepaths.patch
@@ -5,18 +5,6 @@ to resolve these issues properly upstream.
5Upstream-Status: Inappropriate [patches need rework] 5Upstream-Status: Inappropriate [patches need rework]
6Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 6Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 7
8Index: rustc-1.66.0-src/src/tools/clippy/src/driver.rs
9===================================================================
10--- rustc-1.66.0-src.orig/src/tools/clippy/src/driver.rs
11+++ rustc-1.66.0-src/src/tools/clippy/src/driver.rs
12@@ -259,7 +259,6 @@ pub fn main() {
13 .and_then(|out| String::from_utf8(out.stdout).ok())
14 .map(|s| PathBuf::from(s.trim()))
15 })
16- .or_else(|| option_env!("SYSROOT").map(PathBuf::from))
17 .or_else(|| {
18 let home = option_env!("RUSTUP_HOME")
19 .or(option_env!("MULTIRUST_HOME"))
20Index: rustc-1.66.0-src/compiler/rustc_codegen_llvm/src/context.rs 8Index: rustc-1.66.0-src/compiler/rustc_codegen_llvm/src/context.rs
21=================================================================== 9===================================================================
22--- rustc-1.66.0-src.orig/compiler/rustc_codegen_llvm/src/context.rs 10--- rustc-1.66.0-src.orig/compiler/rustc_codegen_llvm/src/context.rs