Drop unused builtin utility

This commit is contained in:
Richard Feldman 2021-08-28 21:26:57 -04:00
parent b3e6a248cf
commit 2ce84d2b84
2 changed files with 0 additions and 6 deletions

View File

@ -45,11 +45,6 @@ fn testing_roc_dealloc(c_ptr: *c_void, _: u32) callconv(.C) void {
std.testing.allocator.destroy(ptr);
}
export fn roc_expect_failed(func_ptr: usize) callconv(.C) void {
const func = @intToPtr(fn () void, func_ptr);
func();
}
fn testing_roc_panic(c_ptr: *c_void, tag_id: u32) callconv(.C) void {
_ = c_ptr;
_ = tag_id;

View File

@ -82,4 +82,3 @@ pub const DEC_MUL_WITH_OVERFLOW: &str = "roc_builtins.dec.mul_with_overflow";
pub const DEC_DIV: &str = "roc_builtins.dec.div";
pub const UTILS_TEST_PANIC: &str = "roc_builtins.utils.test_panic";
pub const EXPECT_FAILED: &str = "roc_expect_failed";