diff options
| author | bors <bors@rust-lang.org> | 2013-07-18 19:10:41 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-18 19:10:41 -0700 |
| commit | b70c045f3820bbce538fb38c8244f3cedad24270 (patch) | |
| tree | f788a4bb40c02c2bf59212e91f1a52a87a1bf776 /src/rt/rust_builtin.cpp | |
| parent | f28e581268c01f1c44021e6670fed03a118929e0 (diff) | |
| parent | 1dbcc8b188a88fe594da5157b9b61e6d9b3d0881 (diff) | |
| download | rust-b70c045f3820bbce538fb38c8244f3cedad24270.tar.gz rust-b70c045f3820bbce538fb38c8244f3cedad24270.zip | |
auto merge of #7856 : brson/rust/no-thread-per-core, r=pcwalton
This doesn't make sense under the new scheduler.
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 d70c2a91366..7e69e2e4ccb 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(); |
