Skip to content

Commit 75ba292

Browse files
committed
Update Rust toolchain to nightly-2026-04-16 in build configuration
1 parent d7e6698 commit 75ba292

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
contents: write
1212
env:
1313
LAUNCHER_PATH: target\i686-win7-windows-msvc\release\HMCLauncher.exe
14+
RUST_TOOLCHAIN: nightly-2026-04-16
1415
steps:
1516
- uses: actions/checkout@v4
1617
- uses: actions/checkout@v4
@@ -23,7 +24,7 @@ jobs:
2324
run: echo "SHORT_SHA=$("${{ github.sha }}".Substring(0, 7))" >> $env:GITHUB_ENV
2425
- name: Setup Rust
2526
shell: pwsh
26-
run: rustup toolchain install nightly --profile minimal --component rust-src --target i686-win7-windows-msvc
27+
run: rustup toolchain install $env:RUST_TOOLCHAIN --profile minimal --component rust-src
2728
- name: Setup Java
2829
uses: actions/setup-java@v4
2930
with:
@@ -33,7 +34,7 @@ jobs:
3334
cache: gradle
3435
- name: Build HMCLauncher
3536
shell: pwsh
36-
run: cargo +nightly build --release --locked
37+
run: cargo build --release --locked
3738
- name: Create checksum file
3839
shell: pwsh
3940
run: Out-File -InputObject (Get-FileHash -Path $env:LAUNCHER_PATH -Algorithm SHA256).Hash.ToLower() -FilePath "$env:LAUNCHER_PATH.sha256" -NoNewline

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly"
2+
channel = "nightly-2026-04-16"
33
components = ["rust-src"]

0 commit comments

Comments
 (0)