Skip to content

Commit

Permalink
anchor: Use Rust 1.79
Browse files Browse the repository at this point in the history
Building with Rust 1.80 fails with:

```
 error[E0282]: type annotations needed for `Box<_>`
  --> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.29/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++
```
  • Loading branch information
vadorovsky committed Aug 14, 2024
1 parent 9813831 commit cfa3b25
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.79
override: true

# Why gcc-multilib? blake3 crate expects bits/wordsize.h header...
Expand Down Expand Up @@ -84,10 +84,6 @@ jobs:
run: |
cargo build --package anchor-cli --release --target ${{ matrix.target }}
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

- name: Copy binary
run: |
cp target/${{ matrix.target }}/release/anchor anchor-${{ matrix.suffix }}
Expand Down

0 comments on commit cfa3b25

Please sign in to comment.