diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-08-22 22:55:11 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-08-23 18:38:59 -0700 |
| commit | 4541c6cfe3ee875020329f888c39ea75183b23d1 (patch) | |
| tree | dd6b276b19f8e284a21a974f025e47ee3a1c47e9 /src/rt/rust_builtin.cpp | |
| parent | b4ef59db2fdf3d2f2c239a03f60569196a8df44d (diff) | |
| download | rust-4541c6cfe3ee875020329f888c39ea75183b23d1.tar.gz rust-4541c6cfe3ee875020329f888c39ea75183b23d1.zip | |
rt: Remove exit_status helpers
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 784693755c5..3a2a8e89415 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -653,21 +653,6 @@ rust_get_global_args_ptr() { return &global_args_ptr; } -static lock_and_signal exit_status_lock; -static uintptr_t exit_status = 0; - -extern "C" CDECL void -rust_set_exit_status_newrt(uintptr_t code) { - scoped_lock with(exit_status_lock); - exit_status = code; -} - -extern "C" CDECL uintptr_t -rust_get_exit_status_newrt() { - scoped_lock with(exit_status_lock); - return exit_status; -} - static lock_and_signal change_dir_lock; extern "C" CDECL void |
