mirror of
https://github.com/uutils/procps.git
synced 2026-06-10 16:14:00 -07:00
tests.rs: adapt to change in ctor
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ use std::env;
|
|||||||
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_procps");
|
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_procps");
|
||||||
|
|
||||||
// Use the ctor attribute to run this function before any tests
|
// Use the ctor attribute to run this function before any tests
|
||||||
#[ctor::ctor]
|
#[ctor::ctor(unsafe)]
|
||||||
fn init() {
|
fn init() {
|
||||||
unsafe {
|
unsafe {
|
||||||
// Necessary for uutests to be able to find the binary
|
// Necessary for uutests to be able to find the binary
|
||||||
|
|||||||
Reference in New Issue
Block a user