Skip to content

Commit

Permalink
Update build script for Rust 1.79
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 15, 2024
1 parent 693b657 commit e14240f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit e14240f

Please sign in to comment.