From e14240f6e219174bdccb4fa8f58b5b99d4bad179 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 16 Jun 2024 00:29:43 +0900 Subject: [PATCH] Update build script for Rust 1.79 --- version.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.rs b/version.rs index 082e6f45..ee7d57c6 100644 --- a/version.rs +++ b/version.rs @@ -35,8 +35,8 @@ impl Version { // the rustc version, we assume this is the current version. // It is no problem if this is older than the actual latest stable. // LLVM version is assumed to be the minimum external LLVM version: - // https://github.com/rust-lang/rust/blob/1.78.0/src/bootstrap/src/core/build_steps/llvm.rs#L571 - pub(crate) const LATEST: Self = Self::stable(78, 16); + // https://github.com/rust-lang/rust/blob/1.79.0/src/bootstrap/src/core/build_steps/llvm.rs#L589 + pub(crate) const LATEST: Self = Self::stable(79, 17); pub(crate) const fn stable(rustc_minor: u32, llvm_major: u32) -> Self { Self { minor: rustc_minor, nightly: false, commit_date: Date::UNKNOWN, llvm: llvm_major }