Add initialize
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user