Skip to content

Commit cd78197

Browse files
committed
---
yaml --- r: 14289 b: refs/heads/try c: 4cc1e31 h: refs/heads/master i: 14287: 3f47d04 v: v3
1 parent 623a279 commit cd78197

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: c4c89dd68475a0f2fb227abdda854760a2cd8459
5+
refs/heads/try: 4cc1e31f74e2714c10ca06daa7a446a32fda6b2a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rt/rust_builtin.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,13 @@ rust_dbg_lock_signal(lock_and_signal *lock) {
654654
lock->signal();
655655
}
656656

657+
typedef void *(*dbg_callback)(void*);
658+
659+
extern "C" CDECL void *
660+
rust_dbg_call(dbg_callback *cb, void *data) {
661+
return (*cb)(data);
662+
}
663+
657664
//
658665
// Local Variables:
659666
// mode: C++

branches/try/src/rt/rustrt.def.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ rust_dbg_lock_lock
104104
rust_dbg_lock_unlock
105105
rust_dbg_lock_wait
106106
rust_dbg_lock_signal
107+
rust_dbg_call

0 commit comments

Comments
 (0)