diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-07-09 17:44:28 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-07-09 17:45:06 -0700 |
| commit | 1dbcc8b188a88fe594da5157b9b61e6d9b3d0881 (patch) | |
| tree | 5f984dc5d4feb01dea14b3825909ad4dec4026ea /src/rt/rust_builtin.cpp | |
| parent | 413d51e32debf0c3f7dda2434b64d73585df21ef (diff) | |
| download | rust-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.cpp | 6 |
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(); |
