From c719fc590cf083093fdce13bc5b6722d221de16b Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 3 May 2026 14:47:12 +0200 Subject: [PATCH] tests.rs: adapt to change in ctor --- tests/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.rs b/tests/tests.rs index 8f94a09..b8f8df6 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -8,7 +8,7 @@ use std::env; pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_util-linux"); // 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