Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
core::intrinsics::abort is no longer unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
KronicDeth committed Feb 28, 2021
1 parent 3511050 commit 77e7218
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtimes/core/src/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,7 @@ pub extern "C" fn builtin_trace_construct(_trace_ref: Term) -> Term {

#[export_name = "__lumen_builtin_fatal_error"]
pub extern "C" fn builtin_fatal_error() -> ! {
unsafe {
core::intrinsics::abort();
}
core::intrinsics::abort();
}

/// Binary Construction
Expand Down

0 comments on commit 77e7218

Please sign in to comment.