Fix issue-506.rs by adding a void-returning stub in the runtime (close #2957)
This commit is contained in:
parent
f188d92dfe
commit
a076c287de
3 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue