diff options
| author | bors <bors@rust-lang.org> | 2013-03-16 14:27:44 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-03-16 14:27:44 -0700 |
| commit | b53da4b9dd977fdffba3f10e570d7c025238dec3 (patch) | |
| tree | ffba2f796ce9bb6e36c1d083553db7bc9638f0be /src/rt/rust_builtin.cpp | |
| parent | ebba8b4e3591c95508a4c1121784e768272a574a (diff) | |
| parent | 63d18658c1d19bdcc4cad91ce808a9590b53f3d2 (diff) | |
| download | rust-b53da4b9dd977fdffba3f10e570d7c025238dec3.tar.gz rust-b53da4b9dd977fdffba3f10e570d7c025238dec3.zip | |
auto merge of #5342 : brson/rust/debug-mem, r=brson
Fixes #5341
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index ccb2c0c5c1c..a2053c115bb 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -876,6 +876,11 @@ rust_dbg_extern_identity_u8(char u) { return u; } +extern "C" rust_env* +rust_get_rt_env() { + rust_task *task = rust_get_current_task(); + return task->kernel->env; +} // // Local Variables: |
