Skip to content

Commit 01ed710

Browse files
committed
tests.rs: adapt to change in ctor
1 parent efc2063 commit 01ed710

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::env;
88
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_util-linux");
99

1010
// Use the ctor attribute to run this function before any tests
11-
#[ctor::ctor]
11+
#[ctor::ctor(unsafe)]
1212
fn init() {
1313
unsafe {
1414
// Necessary for uutests to be able to find the binary

0 commit comments

Comments
 (0)