From 60918b50b185e2d2e8be0d255f555a204f023e9d Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 3 May 2026 13:34:19 +0200 Subject: [PATCH] tests.rs: adapt to ctor change --- tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.rs b/tests/tests.rs index 5a96e6c..3bd61ea 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -7,7 +7,7 @@ use std::env; pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_tarapp"); // Use the ctor attribute to run this function before any tests -#[ctor::ctor] +#[ctor::ctor(unsafe)] fn init() { unsafe { // Necessary for uutests to be able to find the binary