tests.rs: adapt to ctor change

This commit is contained in:
Daniel Hofstetter
2026-05-07 09:38:09 +02:00
parent e94d74614e
commit 60918b50b1
+1 -1
View File
@@ -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