File tree Expand file tree Collapse file tree 6 files changed +20
-7
lines changed
solutions/rust/01-gg4/code Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ That's all!
27
27
28
28
Note: This section is for stages 2 and beyond.
29
29
30
- 1 . Ensure you have ` cargo (1.86 ) ` installed locally
30
+ 1 . Ensure you have ` cargo (1.87 ) ` installed locally
31
31
1 . Run ` ./your_program.sh ` to run your Git implementation, which is implemented
32
32
in ` src/main.rs ` . This command compiles your Rust project, so it might be
33
33
slow the first time you run it. Subsequent runs will be fast.
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
7
7
# Use this to change the Rust version used to run your code
8
8
# on Codecrafters.
9
9
#
10
- # Available versions: rust-1.86
11
- language_pack : rust-1.86
10
+ # Available versions: rust-1.87
11
+ language_pack : rust-1.87
Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1.7-labs
2
+ FROM rust:1.87-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
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ That's all!
27
27
28
28
Note: This section is for stages 2 and beyond.
29
29
30
- 1 . Ensure you have ` cargo (1.86 ) ` installed locally
30
+ 1 . Ensure you have ` cargo (1.87 ) ` installed locally
31
31
1 . Run ` ./your_program.sh ` to run your Git implementation, which is implemented
32
32
in ` src/main.rs ` . This command compiles your Rust project, so it might be
33
33
slow the first time you run it. Subsequent runs will be fast.
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
7
7
# Use this to change the Rust version used to run your code
8
8
# on Codecrafters.
9
9
#
10
- # Available versions: rust-1.86
11
- language_pack : rust-1.86
10
+ # Available versions: rust-1.87
11
+ language_pack : rust-1.87
Original file line number Diff line number Diff line change 1
1
attributes :
2
- required_executable : cargo (1.86 )
2
+ required_executable : cargo (1.87 )
3
3
user_editable_file : src/main.rs
You can’t perform that action at this time.
0 commit comments