Skip to content

Commit 45236a2

Browse files
Ensure that overflow checks are active for the copy exercise. Closes mainmatter#64
1 parent f4e0064 commit 45236a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
[workspace]
22
members = ["exercises/*/*", "helpers/common", "helpers/mdbook-exercise-linker", "helpers/ticket_fields"]
33
resolver = "2"
4+
5+
# This is needed to guarantee the expected behaviour on that specific exercise,
6+
# regardless of the "global" setting for `overflow-checks` on the `dev` profile.
7+
[profile.dev.package.copy]
8+
overflow-checks = true

0 commit comments

Comments
 (0)