Skip to content

Commit 9eb0501

Browse files
committed
---
yaml --- r: 29892 b: refs/heads/incoming c: a076c28 h: refs/heads/master v: v3
1 parent 1743015 commit 9eb0501

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: f188d92dfe824ce45d7128940b8ac60741975cfb
9+
refs/heads/incoming: a076c287de55bd69328fbf542bf769ca20a12ab4
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/rt/rust_builtin.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,8 @@ rust_dbg_call(dbg_callback cb, void *data) {
797797
return cb(data);
798798
}
799799

800+
extern "C" CDECL void rust_dbg_do_nothing() { }
801+
800802
extern "C" CDECL void
801803
rust_dbg_breakpoint() {
802804
BREAKPOINT_AWESOME;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ rust_dbg_lock_unlock
170170
rust_dbg_lock_wait
171171
rust_dbg_lock_signal
172172
rust_dbg_call
173+
rust_dbg_do_nothing
173174
rust_dbg_breakpoint
174175
rust_osmain_sched_id
175176
rust_compare_and_swap_ptr
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// xfail-test
21
/*
32
A reduced test case for Issue #506, provided by Rob Arnold.
43
@@ -10,10 +9,9 @@ import task;
109

1110
#[abi = "cdecl"]
1211
extern mod rustrt {
13-
fn get_task_id() -> libc::intptr_t;
12+
fn rust_dbg_do_nothing();
1413
}
1514

1615
fn main() {
17-
let f: fn() -> libc::intptr_t = rustrt::get_task_id;
18-
task::spawn(unsafe { unsafe::reinterpret_cast(f) });
16+
task::spawn(rustrt::rust_dbg_do_nothing);
1917
}

0 commit comments

Comments
 (0)