Skip to content

Commit aef58c2

Browse files
committed
Use Rust nightly from October 14th, 2024
Although the nightly from October 13th is the last one prior to the 1.83 beta cut, it's missing rust-lang/rust#131287 which landed in 1.83.0. This causes HHBC compilation to fail: ``` error: `std::option::Option::<T>::unwrap` is not yet stable as a const fn --> hackc/hhbc/cargo/hhbc/../../types.rs:153:17 | 153 | let parts = name.as_bytes().split_first().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: add `#![feature(const_option)]` to the crate attributes to enable ``` Update to the nightly from the next day instead to pull in this change.
1 parent 30d997e commit aef58c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

third-party/rustc/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if(RUSTC_EXECUTABLE)
2828
else()
2929
message(STATUS "Using bundled Rust")
3030

31-
set(RUST_NIGHTLY_VERSION "2024-10-13")
31+
set(RUST_NIGHTLY_VERSION "2024-10-14")
3232

3333
SET_HHVM_THIRD_PARTY_SOURCE_ARGS(
3434
RUST_DOWNLOAD_ARGS
@@ -37,9 +37,9 @@ else()
3737
Darwin_URL
3838
"https://static.rust-lang.org/dist/${RUST_NIGHTLY_VERSION}/rust-nightly-x86_64-apple-darwin.tar.gz"
3939
Linux_HASH
40-
"SHA512=120f7eb6b55951785b22b6ec6dd4456873f4fd1a78387e61a56784d5130be82fe97d4e644459c92f8c79766e083dff6eb8365562bf7202c7aa891977d94ef127"
40+
"SHA512=a4d6006d413022c72f6da8043affae0883fcfb0c8b7269933e90f1ec3238f0d14fa41a4656fa6069a2ee12956d0de09d6e2badf3d7be3e66de8902a075c6df83"
4141
Darwin_HASH
42-
"SHA512=7f58dc3ccc399c9fe969ba586e7cad907842d3b66e80dad62a733ce6dbb3daf922f7371a3042e4d521ea9521e7e8153c5aa32ddd1d5a84bef84ccc008fea028a"
42+
"SHA512=f1e36f0adaa8e0c7c7504ae68b39545a45b5e2025e97309499f06295db89be9bafae5fb6c143a5214e95730fcd7f639a30250553f3bef435ebc86505d809223c"
4343
# The original filename doesn't contain any version information, so add the version information as a prefix to avoid cache collisions when updating later
4444
FILENAME_PREFIX "rustc-${RUST_NIGHTLY_VERSION}-"
4545
)

0 commit comments

Comments
 (0)