Skip to content

Commit 41f89ce

Browse files
committed
Fix cargo run and install.
Since xtask was added a while back, both cargo run and cargo install have been broken, requiring you to specify a package. This fixes that. I've also forced the Clippy checks to apply the MSRV only, because otherwise I happen to be the first commit after 1.90 was released with a bunch of new Clippy warnings, which are preventing me from merging this. And then I've changed the MSRV, because apparently the code wasn't Clippy-clean at its MSRV. Wheeeee
1 parent d292677 commit 41f89ce

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions-rs/toolchain@v1
2929
with:
3030
profile: minimal
31-
toolchain: "1.88" # must match Cargo.toml
31+
toolchain: "1.89" # must match Cargo.toml
3232
override: true
3333
- uses: Swatinem/rust-cache@v1
3434
- uses: actions-rs/cargo@v1
@@ -101,7 +101,7 @@ jobs:
101101
- uses: actions-rs/toolchain@v1
102102
with:
103103
profile: minimal
104-
toolchain: stable
104+
toolchain: "1.89" # must match Cargo.toml
105105
components: clippy
106106
override: true
107107
- uses: Swatinem/rust-cache@v1

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33

44
[workspace]
5+
default-members = ["humility-bin"]
56
members = [
67
"humility-arch-arm",
78
"humility-arch-cortex",
@@ -82,7 +83,7 @@ resolver = "2"
8283

8384
[workspace.package]
8485
edition = "2024"
85-
rust-version = "1.88" # if this changes, edit ci.yaml as well!
86+
rust-version = "1.89" # if this changes, edit ci.yaml as well!
8687

8788
[workspace.dependencies]
8889
# `git`-based deps

0 commit comments

Comments
 (0)