Skip to content

Commit

Permalink
ci: bump MSRV to 1.46
Browse files Browse the repository at this point in the history
async-std started failing to compile on 1.45 due to a new indirect
dependency 'socket2' which in version 0.4.0 fails with the following
error:

   Compiling socket2 v0.4.0
error[E0658]: `match` is not allowed in a `const fn`
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.0/src/lib.rs:156:9
    |
156 | /         match address {
157 | |             SocketAddr::V4(_) => Domain::IPV4,
158 | |             SocketAddr::V6(_) => Domain::IPV6,
159 | |         }
    | |_________^
    |
    = note: see issue #49146 <rust-lang/rust#49146> for more information

   Compiling signal-hook-registry v1.3.0
error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `socket2`.
  • Loading branch information
r-bk committed Mar 20, 2021
1 parent f1d6309 commit 0fde065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- stable
- beta
- nightly
- 1.45.0 # minimal supported version
- 1.46.0 # MSRV
runs_on:
- ubuntu-latest
- windows-latest
Expand Down

0 comments on commit 0fde065

Please sign in to comment.