diff options
Diffstat (limited to 'src/rt/test/rust_test_runtime.cpp')
| -rw-r--r-- | src/rt/test/rust_test_runtime.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rt/test/rust_test_runtime.cpp b/src/rt/test/rust_test_runtime.cpp index ffbc15d95f6..c683302dec2 100644 --- a/src/rt/test/rust_test_runtime.cpp +++ b/src/rt/test/rust_test_runtime.cpp @@ -13,7 +13,7 @@ rust_test_runtime::~rust_test_runtime() { void rust_domain_test::worker::run() { - rust_handle<rust_dom> *handle = kernel->create_domain(NULL, "test"); + rust_handle<rust_dom> *handle = kernel->create_domain("test"); for (int i = 0; i < TASKS; i++) { handle->referent()->create_task(NULL, "child"); } @@ -49,9 +49,8 @@ void task_entry() { void rust_task_test::worker::run() { - rust_crate *crate = parent->suite->crate; rust_handle<rust_dom> *handle = - kernel->create_domain(crate, "test"); + kernel->create_domain("test"); rust_dom *domain = handle->referent(); domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL, 0); domain->start_main_loop(); |
