tests.rs: adapt to change in ctor

This commit is contained in:
Daniel Hofstetter
2026-05-03 14:25:40 +02:00
parent f1c526d37b
commit 295cf62b0f
+1 -1
View File
@@ -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