Skip to content

Commit 4f5f2cb

Browse files
committed
---
yaml --- r: 20595 b: refs/heads/snap-stage3 c: 2040a5c h: refs/heads/master i: 20593: b90f59c 20591: cd944fd v: v3
1 parent b395dbd commit 4f5f2cb

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,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f42a5a1acd125982ab19abf3e892a819aceab45a
4+
refs/heads/snap-stage3: 2040a5c632caa8b0918979c552530782ca9e4a81
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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();

branches/snap-stage3/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.

branches/snap-stage3/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)