Skip to content

Commit f295d78

Browse files
committed
---
yaml --- r: 2341 b: refs/heads/master c: 99f1dff h: refs/heads/master i: 2339: f9e5ace v: v3
1 parent 4a99246 commit f295d78

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: dc181bca4e964c42adb246ac1891c781fa6d585c
2+
refs/heads/master: 99f1dffd490b4a3c76356240eb35fae901f8151b

trunk/src/rt/rust_upcall.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,8 @@ upcall_fail(rust_task *task,
275275
LOG_UPCALL_ENTRY(task);
276276
LOG_ERR(task, upcall, "upcall fail '%s', %s:%" PRIdPTR, expr, file, line);
277277
task->fail(4);
278-
if (getenv("RUST_TRAP_FAILURE")) {
279-
// FIXME: x86-ism.
280-
__asm__("int3");
281-
}
278+
// FIXME: re-implement unwinding.
279+
abort();
282280
}
283281

284282
/**

0 commit comments

Comments
 (0)