diff options
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 7ffaccece64..04d11e020ea 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -127,13 +127,6 @@ rust_env_pairs() { } #endif -extern "C" CDECL intptr_t -refcount(intptr_t *v) { - // Passed-in value has refcount 1 too high - // because it was ref'ed while making the call. - return (*v) - 1; -} - extern "C" CDECL void unsupervise() { rust_task *task = rust_get_current_task(); |
