From 6029a8fc175bfa7d3ffb4797d088fc9925ee7760 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:14:10 +0200 Subject: [PATCH] Ensure that overflow checks are active for the `copy` exercise. Closes #64 --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.45.2