about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-07-09 17:44:28 -0700
committerBrian Anderson <banderson@mozilla.com>2013-07-09 17:45:06 -0700
commit1dbcc8b188a88fe594da5157b9b61e6d9b3d0881 (patch)
tree5f984dc5d4feb01dea14b3825909ad4dec4026ea /src/rt/rust_builtin.cpp
parent413d51e32debf0c3f7dda2434b64d73585df21ef (diff)
downloadrust-1dbcc8b188a88fe594da5157b9b61e6d9b3d0881.tar.gz
rust-1dbcc8b188a88fe594da5157b9b61e6d9b3d0881.zip
std: Remove ThreadPerCore spawn mode. Unused
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 4a5fcf3c604..7cc3ce0f533 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -476,12 +476,6 @@ rust_get_sched_id() {
     return task->sched->get_id();
 }
 
-extern "C" CDECL uintptr_t
-rust_num_threads() {
-    rust_task *task = rust_get_current_task();
-    return task->kernel->env->num_sched_threads;
-}
-
 extern "C" CDECL int
 rust_get_argc() {
     rust_task *task = rust_get_current_task();