Skip to content

Commit 25d07ca

Browse files
authored
Merge pull request #141 from codecrafters-io/upgrade-rust-1.88
Upgrade Rust to 1.88
2 parents 215f2e9 + 560b867 commit 25d07ca

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

compiled_starters/rust/codecrafters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ debug: false
77
# Use this to change the Rust version used to run your code
88
# on Codecrafters.
99
#
10-
# Available versions: rust-1.87
11-
language_pack: rust-1.87
10+
# Available versions: rust-1.88
11+
language_pack: rust-1.88

dockerfiles/rust-1.88.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# syntax=docker/dockerfile:1.7-labs
2+
FROM rust:1.88-bookworm
3+
4+
# Rebuild the container if these files change
5+
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"
6+
7+
WORKDIR /app
8+
9+
# .git & README.md are unique per-repository. We ignore them on first copy to prevent cache misses
10+
COPY --exclude=.git --exclude=README.md . /app
11+
12+
# This runs cargo build
13+
RUN .codecrafters/compile.sh

solutions/rust/01-dr6/code/codecrafters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ debug: false
77
# Use this to change the Rust version used to run your code
88
# on Codecrafters.
99
#
10-
# Available versions: rust-1.87
11-
language_pack: rust-1.87
10+
# Available versions: rust-1.88
11+
language_pack: rust-1.88

0 commit comments

Comments
 (0)