mirror of
https://github.com/uutils/awk.git
synced 2026-06-10 16:15:04 -07:00
fix: migrate ctor to v1
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ use uutests::util::TestScenario;
|
||||
|
||||
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_awk");
|
||||
|
||||
#[ctor::ctor]
|
||||
#[ctor::ctor(unsafe)]
|
||||
fn init() {
|
||||
unsafe {
|
||||
env::set_var("UUTESTS_BINARY_PATH", TESTS_BINARY);
|
||||
|
||||
Reference in New Issue
Block a user