Skip to content

Commit 295cf62

Browse files
committed
tests.rs: adapt to change in ctor
1 parent f1c526d commit 295cf62

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
@@ -7,7 +7,7 @@ use std::env;
77
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_procps");
88

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

0 commit comments

Comments
 (0)