Add initialize

This commit is contained in:
Dániel Buga
2024-11-19 15:59:31 +01:00
parent ff02ee1a22
commit 8ebe059ecb
10 changed files with 56 additions and 9 deletions

View File

@@ -40,6 +40,10 @@ fn setup() -> (&'static Executor, Trace) {
let trace = Trace::new();
let context = Box::leak(Box::new(trace.clone())) as *mut _ as *mut ();
let executor = &*Box::leak(Box::new(Executor::new(context)));
unsafe {
executor.initialize();
}
(executor, trace)
}