Skip to content

Commit

Permalink
Update build script for Rust 1.82
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 17, 2024
1 parent dee6c60 commit f6b80c3
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.81.0/src/bootstrap/src/core/build_steps/llvm.rs#L588
pub(crate) const LATEST: Self = Self::stable(81, 17);
// https://github.com/rust-lang/rust/blob/1.82.0/src/bootstrap/src/core/build_steps/llvm.rs#L586
pub(crate) const LATEST: Self = Self::stable(82, 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 f6b80c3

Please sign in to comment.