From 295cf62b0f55f0a5707feb9313df8a95c0cec1ae Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 3 May 2026 14:25:40 +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 a27a429..f9c8076 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_procps"); // 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