diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-07-17 19:51:40 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-07-22 14:17:09 -0700 |
| commit | 407bffb33e59db9c2ed0c0c5a6533f2ab88743e0 (patch) | |
| tree | 6a15d38ef46e3ceb90ddcf4b81e0c42870913550 /src/rt/rust_builtin.cpp | |
| parent | 23b7ee2bda12f6518d480c29e9673ed2c592c5f3 (diff) | |
| download | rust-407bffb33e59db9c2ed0c0c5a6533f2ab88743e0.tar.gz rust-407bffb33e59db9c2ed0c0c5a6533f2ab88743e0.zip | |
std: Remove at_exit API. 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 860f20e7308..06b09bcedd2 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -757,12 +757,6 @@ rust_raw_thread_join_delete(raw_thread *thread) { delete thread; } -extern "C" void -rust_register_exit_function(spawn_fn runner, fn_env_pair *f) { - rust_task *task = rust_get_current_task(); - task->kernel->register_exit_function(runner, f); -} - #ifndef _WIN32 #include <sys/types.h> #include <dirent.h> |
