From a10ec437b1387e22a6d09211b4320d5330580f49 Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Sat, 28 Jan 2023 17:39:12 +0000 Subject: 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/rust/files/hardcodepaths.patch | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'meta/recipes-devtools/rust/files/hardcodepaths.patch') 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. Upstream-Status: Inappropriate [patches need rework] Signed-off-by: Richard Purdie -Index: rustc-1.66.0-src/src/tools/clippy/src/driver.rs -=================================================================== ---- rustc-1.66.0-src.orig/src/tools/clippy/src/driver.rs -+++ rustc-1.66.0-src/src/tools/clippy/src/driver.rs -@@ -259,7 +259,6 @@ pub fn main() { - .and_then(|out| String::from_utf8(out.stdout).ok()) - .map(|s| PathBuf::from(s.trim())) - }) -- .or_else(|| option_env!("SYSROOT").map(PathBuf::from)) - .or_else(|| { - let home = option_env!("RUSTUP_HOME") - .or(option_env!("MULTIRUST_HOME")) Index: rustc-1.66.0-src/compiler/rustc_codegen_llvm/src/context.rs =================================================================== --- rustc-1.66.0-src.orig/compiler/rustc_codegen_llvm/src/context.rs -- cgit v1.2.3-54-g00ecf