Upgrade to Rust 1.41 (#437)

This commit is contained in:
Oliver Gould 2020-02-24 15:06:01 -08:00 committed by GitHub
parent 044ff123ef
commit 4780c22557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@ jobs:
package:
runs-on: ubuntu-latest
container:
image: docker://rust:1.40.0-buster
image: docker://rust:1.41.0-buster
steps:
- name: git co
uses: actions/checkout@v1

View File

@ -10,7 +10,7 @@ jobs:
fmt:
runs-on: ubuntu-18.04
container:
image: docker://rust:1.40.0-buster
image: docker://rust:1.41.0-buster
steps:
- uses: actions/checkout@v1
- run: rustup component add rustfmt
@ -19,7 +19,7 @@ jobs:
lib:
runs-on: ubuntu-18.04
container:
image: docker://rust:1.40.0-buster
image: docker://rust:1.41.0-buster
steps:
- uses: actions/checkout@v1
- run: make test-lib

View File

@ -8,8 +8,8 @@
# runtime performance.
# rather than updating this manually, run update-rust-version.sh
ARG RUST_IMAGE=rust:1.40.0-buster
ARG RUNTIME_IMAGE=gcr.io/linkerd-io/proxy:edge-19.10.2
ARG RUST_IMAGE=rust:1.41.0-buster
ARG RUNTIME_IMAGE=gcr.io/linkerd-io/proxy:edge-20.2.2
ARG PROXY_UNOPTIMIZED
## Builds the proxy as incrementally as possible.

View File

@ -29,7 +29,7 @@ mod imp {
// Do everything lazily to prevent `Signal::new()` from calling
// `Handle::current()` and starting the background reactor when
// we haven't initialized the runtime yet.
Ok([SIGINT, SIGTERM].into_iter())
Ok([SIGINT, SIGTERM].iter())
})
.and_then(|signals| {
let signals = signals.map(|&sig| {

View File

@ -1,4 +1,4 @@
ARG RUST_IMAGE=rust:1.40.0-buster
ARG RUST_IMAGE=rust:1.41.0-buster
ARG RUNTIME_IMAGE=debian:bullseye-slim
ARG RUSTFLAGS="-C debuginfo=2 -C lto=off"
## Builds the proxy as incrementally as possible.

View File

@ -1 +1 @@
1.40.0
1.41.0