about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index d15d52ba431..53c2d945b09 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -261,6 +261,11 @@ int rust_kernel::start_task_threads(int num_threads)
     return sched->rval;
 }
 
+rust_task *
+rust_kernel::create_task(rust_task *spawner, const char *name) {
+    return sched->create_task(spawner, name);
+}
+
 #ifdef __WIN32__
 void
 rust_kernel::win32_require(LPCTSTR fn, BOOL ok) {