diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-05-07 23:01:02 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-05-07 23:01:05 -0700 |
| commit | 80061ecb1d11afd7c450673676e7708f85b73f12 (patch) | |
| tree | 06baea351f5d1f1b8818dcb8ca6c2b1c6c4a2f4d /src/rt/rust_builtin.cpp | |
| parent | 3c4b32cdbe7304e6bd033ff6bb4b23a1f18e8af0 (diff) | |
| download | rust-80061ecb1d11afd7c450673676e7708f85b73f12.tar.gz rust-80061ecb1d11afd7c450673676e7708f85b73f12.zip | |
rt: Remove rust_call_nullary_fn
There's no need to delegate to C to call the Rust main function.
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 a491379153e..24666b95f0d 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -830,13 +830,6 @@ rust_get_rt_env() { return task->kernel->env; } -typedef void *(*nullary_fn)(); - -extern "C" CDECL void -rust_call_nullary_fn(nullary_fn f) { - f(); -} - #ifndef _WIN32 pthread_key_t sched_key; #else |
