diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2012-08-16 18:06:06 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2012-08-16 21:07:55 -0400 |
| commit | a076c287de55bd69328fbf542bf769ca20a12ab4 (patch) | |
| tree | 2f27022168625e67edd07ffd981bd7579ee5ab94 /src/rt/rust_builtin.cpp | |
| parent | f188d92dfe824ce45d7128940b8ac60741975cfb (diff) | |
| download | rust-a076c287de55bd69328fbf542bf769ca20a12ab4.tar.gz rust-a076c287de55bd69328fbf542bf769ca20a12ab4.zip | |
Fix issue-506.rs by adding a void-returning stub in the runtime (close #2957)
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 465eb6efe38..8fd8bdc7c45 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -797,6 +797,8 @@ rust_dbg_call(dbg_callback cb, void *data) { return cb(data); } +extern "C" CDECL void rust_dbg_do_nothing() { } + extern "C" CDECL void rust_dbg_breakpoint() { BREAKPOINT_AWESOME; |
