Skip to content

Commit

Permalink
chore: update Rust to 1.80.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hseeberger committed Aug 11, 2024
1 parent de7e001 commit 5470fdb
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 39 deletions.
112 changes: 76 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion hello-tracing-backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ---------- BUILD STAGE ---------- #

# Keep in sync with rust-toolchain.toml to omit downloading/installing!
FROM rust:1.80.0-bookworm AS build_stage
ARG RUST_VERSION
FROM rust:$RUST_VERSION-bookworm AS build_stage

ARG PROFILE=release

Expand Down
3 changes: 2 additions & 1 deletion hello-tracing-gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ---------- BUILD STAGE ---------- #

# Keep in sync with rust-toolchain.toml to omit downloading/installing!
FROM rust:1.80.0-bookworm AS build_stage
ARG RUST_VERSION
FROM rust:$RUST_VERSION-bookworm AS build_stage

ARG PROFILE=release

Expand Down
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set shell := ["bash", "-uc"]
rust_version := `grep channel rust-toolchain.toml | sed -r 's/channel = "(.*)"/\1/'`

check:
cargo check -p hello-tracing-common
Expand Down Expand Up @@ -41,10 +42,12 @@ run-backend port="8081":

docker tag="latest":
docker build \
--build-arg "RUST_VERSION={{rust_version}}" \
-t hseeberger/hello-tracing-backend:{{tag}} \
-f hello-tracing-backend/Dockerfile \
.
docker build \
--build-arg "RUST_VERSION={{rust_version}}" \
-t hseeberger/hello-tracing-gateway:{{tag}} \
-f hello-tracing-gateway/Dockerfile \
.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.80.0"
channel = "1.80.1"

0 comments on commit 5470fdb

Please sign in to comment.