diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2011-08-24 21:19:56 -0700 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2011-08-31 20:40:00 -0700 |
| commit | b199e9da92a904453d5fa482b0c4d5134037a2eb (patch) | |
| tree | a85821b8f19e9e3046075b5a99a24a5f706261b0 /src/rt/rust_builtin.cpp | |
| parent | 614a930c51d8e8f66e6893261616a449d9ab0754 (diff) | |
| download | rust-b199e9da92a904453d5fa482b0c4d5134037a2eb.tar.gz rust-b199e9da92a904453d5fa482b0c4d5134037a2eb.zip | |
Expose STDERR to rust.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 679a04b93d6..f3f67fef52d 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -534,6 +534,7 @@ rust_file_is_dir(rust_task *task, rust_str *path) { extern "C" CDECL FILE* rust_get_stdin() {return stdin;} extern "C" CDECL FILE* rust_get_stdout() {return stdout;} +extern "C" CDECL FILE* rust_get_stderr() {return stderr;} extern "C" CDECL int rust_ptr_eq(rust_task *task, type_desc *t, rust_box *a, rust_box *b) { |
