1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

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>
This commit is contained in:
Alex Kiernan
2023-01-28 17:39:12 +00:00
committed by Richard Purdie
parent 4360f7e2c1
commit a10ec437b1
10 changed files with 59 additions and 39 deletions
@@ -5,18 +5,6 @@ to resolve these issues properly upstream.
Upstream-Status: Inappropriate [patches need rework]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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