Skip to content

Commit caa7f64

Browse files
committed
Upgrade to Rust 1.81
Summary: Rust 1.81 introduced new [lifetime rules](rust-lang/rust#117967), which opaque-ke, a crate we depend on, violated. The maintainers of that crate have introduced a new version that satisifies these new rules, and we have upgraded to this version in D13895. Now that we've upgraded the dependency, we should bump Rust to the latest stable version. EDIT: we can't upgrade to 1.82, the latest stable version, because of an issue with `wasm-bindgen`: https://linear.app/comm/issue/ENG-9892/cant-upgrade-to-rust-182 Depends on D13895 Test Plan: All crates build locally and in Docker (CI) Reviewers: will, bartek Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D13896
1 parent 6580b06 commit caa7f64

File tree

10 files changed

+668
-357
lines changed

10 files changed

+668
-357
lines changed

keyserver/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN mkdir /home/comm/backups
8888

8989
# Install Rust and add Cargo's bin directory to the $PATH environment variable
9090
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
91-
--default-toolchain 1.76
91+
--default-toolchain 1.81
9292
ENV PATH /home/comm/.cargo/bin:$PATH
9393

9494
#-------------------------------------------------------------------------------

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.76"
2+
channel = "1.81"
33
profile = "default"

services/backup/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.76-bullseye as builder
1+
FROM rust:1.81-bullseye as builder
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
44
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \

services/blob/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.76-bullseye as builder
1+
FROM rust:1.81-bullseye as builder
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
44
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \

services/commtest/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.76-bullseye
1+
FROM rust:1.81-bullseye
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
44
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \

services/feature-flags/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.76-bullseye as builder
1+
FROM rust:1.81-bullseye as builder
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
44
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \

services/identity/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.76-bullseye as builder
1+
FROM rust:1.81-bullseye as builder
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
44
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \

services/reports/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.76-bullseye as builder
1+
FROM rust:1.81-bullseye as builder
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
44
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \

0 commit comments

Comments
 (0)