Ensure that overflow checks are active for the `copy` exercise. Closes #64
authorLukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com>
Thu, 1 Aug 2024 13:14:10 +0000 (15:14 +0200)
committerLukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com>
Thu, 1 Aug 2024 13:14:10 +0000 (15:14 +0200)
Cargo.toml

index 914c0ae..6bd1ab2 100644 (file)
@@ -1,3 +1,8 @@
 [workspace]
 members = ["exercises/*/*", "helpers/common", "helpers/mdbook-exercise-linker", "helpers/ticket_fields"]
 resolver = "2"
+
+# This is needed to guarantee the expected behaviour on that specific exercise,
+# regardless of the "global" setting for `overflow-checks` on the `dev` profile.
+[profile.dev.package.copy]
+overflow-checks = true
\ No newline at end of file