From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:14:10 +0000 (+0200) Subject: Ensure that overflow checks are active for the `copy` exercise. Closes #64 X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=6029a8fc175bfa7d3ffb4797d088fc9925ee7760;p=rust_exercises.git Ensure that overflow checks are active for the `copy` exercise. Closes #64 --- diff --git a/Cargo.toml b/Cargo.toml index 914c0ae..6bd1ab2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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