Skip to content

Commit b9f95d6

Browse files
committed
---
yaml --- r: 22703 b: refs/heads/master c: 2040a5c h: refs/heads/master i: 22701: adba8c8 22699: 80c6620 22695: a31244c 22687: 0e67732 v: v3
1 parent c9d1685 commit b9f95d6

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f42a5a1acd125982ab19abf3e892a819aceab45a
2+
refs/heads/master: 2040a5c632caa8b0918979c552530782ca9e4a81
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/rt/rust_builtin.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,11 @@ rust_task_kill_all(rust_task *task) { /* Used for linked failure */
882882
main_taskgroup_failed = true;
883883
}
884884

885+
extern "C" CDECL
886+
bool rust_task_is_unwinding(rust_task *rt) {
887+
return rt->unwinding;
888+
}
889+
885890
extern "C" rust_cond_lock*
886891
rust_create_cond_lock() {
887892
return new rust_cond_lock();

trunk/src/rt/rust_task.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,6 @@ void rust_task::kill_inner() {
295295
LOG(this, task, "preparing to unwind task: 0x%" PRIxPTR, this);
296296
}
297297

298-
// (bblum): Move this to rust_builtin.cpp (cleanup)
299-
extern "C" CDECL
300-
bool rust_task_is_unwinding(rust_task *rt) {
301-
return rt->unwinding;
302-
}
303-
304298
void
305299
rust_task::fail() {
306300
// See note in ::kill() regarding who should call this.

trunk/src/rt/rust_task.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ rust_task : public kernel_owned<rust_task>
274274
void fail(char const *expr, char const *file, size_t line);
275275

276276
// Propagate failure to the entire rust runtime.
277-
// FIXME (#1868) (bblum): maybe this can be done at rust-level?
278277
void fail_sched_loop();
279278

280279
frame_glue_fns *get_frame_glue_fns(uintptr_t fp);

0 commit comments

Comments
 (0)