mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
Drop unused builtin utility
This commit is contained in:
parent
b3e6a248cf
commit
2ce84d2b84
@ -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;
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user