aboutsummaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_upcall.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 5cfd3847..d64c740c 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -275,10 +275,8 @@ upcall_fail(rust_task *task,
LOG_UPCALL_ENTRY(task);
LOG_ERR(task, upcall, "upcall fail '%s', %s:%" PRIdPTR, expr, file, line);
task->fail(4);
- if (getenv("RUST_TRAP_FAILURE")) {
- // FIXME: x86-ism.
- __asm__("int3");
- }
+ // FIXME: re-implement unwinding.
+ abort();
}
/**