diff --git a/compiled_starters/rust/codecrafters.yml b/compiled_starters/rust/codecrafters.yml index 1fb9cb5..83a3898 100644 --- a/compiled_starters/rust/codecrafters.yml +++ b/compiled_starters/rust/codecrafters.yml @@ -7,5 +7,5 @@ debug: false # Use this to change the Rust version used to run your code # on Codecrafters. # -# Available versions: rust-1.87 -language_pack: rust-1.87 +# Available versions: rust-1.88 +language_pack: rust-1.88 diff --git a/dockerfiles/rust-1.88.Dockerfile b/dockerfiles/rust-1.88.Dockerfile new file mode 100644 index 0000000..0678733 --- /dev/null +++ b/dockerfiles/rust-1.88.Dockerfile @@ -0,0 +1,13 @@ +# syntax=docker/dockerfile:1.7-labs +FROM rust:1.88-bookworm + +# Rebuild the container if these files change +ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock" + +WORKDIR /app + +# .git & README.md are unique per-repository. We ignore them on first copy to prevent cache misses +COPY --exclude=.git --exclude=README.md . /app + +# This runs cargo build +RUN .codecrafters/compile.sh diff --git a/solutions/rust/01-gg4/code/codecrafters.yml b/solutions/rust/01-gg4/code/codecrafters.yml index 1fb9cb5..83a3898 100644 --- a/solutions/rust/01-gg4/code/codecrafters.yml +++ b/solutions/rust/01-gg4/code/codecrafters.yml @@ -7,5 +7,5 @@ debug: false # Use this to change the Rust version used to run your code # on Codecrafters. # -# Available versions: rust-1.87 -language_pack: rust-1.87 +# Available versions: rust-1.88 +language_pack: rust-1.88