Skip to content

Commit

Permalink
build(msrv): ⬆️ bump MSRV since Rust 1.81 was released
Browse files Browse the repository at this point in the history
Features from Rust 1.79 can be used now.Notable features from [Rust 1.79](https://releases.rs/docs/1.79.0/):

- Stabilize inline `const {}` expressions.
- Stabilize `std::str::Utf8Chunk` and related types/functions.
- Stabilize `std::num::NonZero<T>`.
  • Loading branch information
Jisu-Woniu committed Sep 6, 2024
1 parent 3947cf0 commit e9e118d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Setup Rust toolchain
uses: moonrepo/setup-rust@v1
with:
channel: "1.78"
channel: "1.79"
bins: cargo-hack
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ license = "Apache-2.0"
repository = "https://github.com/NJUPT-SAST/rsjudge"

# MSRV is set to N - 2, where N is the current stable version.
rust-version = "1.78"
rust-version = "1.79"

[workspace.dependencies]
log = "0.4.22"
Expand Down

0 comments on commit e9e118d

Please sign in to comment.