Skip to content

Commit

Permalink
fix: pin toolchain at 1.54.0
Browse files Browse the repository at this point in the history
1.55.0 broke the build:

```
error: unused borrow that must be used
   --> anki/rslib/src/sync/http_client.rs:330:1
    |
330 | #[pin_project]
    | ^^^^^^^^^^^^^^
    |
note: the lint level is defined here
   --> anki/rslib/src/lib.rs:4:9
    |
4   | #![deny(unused_must_use)]
    |         ^^^^^^^^^^^^^^^
    = note: this error originates in the derive macro
    `::pin_project::__private::__PinProjectInternalDerive`
     (in Nightly builds, run with -Z macro-backtrace for more info)

```
  • Loading branch information
david-allison committed Oct 3, 2021
1 parent 51a70e7 commit 28e0aa2
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 7 targets.
- name: Install Rust Targets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 7 targets.
- name: Install Rust Targets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 7 targets.
- name: Install Rust Targets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 7 targets.
- name: Install Rust Targets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/robolectric_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 7 targets.
- name: Install Rust Targets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 4 targets.
- name: Install Rust Targets
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/windows_pure_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
toolchain: 1.54.0
override: true
components: rustfmt

# actions-rs only accepts "target" (although a "targets" param to be added in v2). We need 4 targets.
- name: Install Rust Targets
Expand Down

0 comments on commit 28e0aa2

Please sign in to comment.