Skip to content

Commit

Permalink
Update build script for Rust 1.83
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 6, 2024
1 parent e1b3825 commit 5f7367c
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.82.0/src/bootstrap/src/core/build_steps/llvm.rs#L586
pub(crate) const LATEST: Self = Self::stable(82, 17);
// https://github.com/rust-lang/rust/blob/1.83.0/src/bootstrap/src/core/build_steps/llvm.rs#L602
pub(crate) const LATEST: Self = Self::stable(83, 18);

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 5f7367c

Please sign in to comment.