From 29c644fc72bf02a5b510c4a2dff65b877cff1a33 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 5 May 2026 08:58:24 +0200 Subject: [PATCH] tests/common/mod.rs: adapt to change in ctor --- tests/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 4ccf385..3b70eaf 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -12,7 +12,7 @@ pub mod test_helpers; // Set UUTESTS_BINARY_PATH before any tests run. The value is only used by // TestScenario::new() to satisfy its internal setup; tests that need a // specific binary pass it explicitly via TestScenario::cmd(BINARY_PATH). -#[ctor::ctor] +#[ctor::ctor(unsafe)] fn init() { std::env::set_var("UUTESTS_BINARY_PATH", env!("CARGO_BIN_EXE_find")); }