tests.rs: adapt to change in ctor

This commit is contained in:
Daniel Hofstetter
2026-05-03 14:47:12 +02:00
parent 0cac69b5b7
commit c719fc590c
+1 -1
View File
@@ -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