Skip to content

Commit

Permalink
build: pin rust toolchain to specified version in ci and locally
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Oo <[email protected]>
  • Loading branch information
chris-oo committed Jul 26, 2024
1 parent 6b81bb9 commit 22ee6ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: '1.80.0'
target: x86_64-unknown-none
profile: minimal
override: true
Expand Down
1 change: 1 addition & 0 deletions kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "svsm"
version = "0.1.0"
edition = "2021"
rust-version = "1.80.0"

[[bin]]
name = "stage2"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "stable"
channel = "1.80.0"
targets = [ "x86_64-unknown-none" ]

0 comments on commit 22ee6ce

Please sign in to comment.