mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Starts memory allocation for our collection of failures for the expect keyword
+ BLOCKED: @lucas how do we initialize an empty slice in Zig?
This commit is contained in:
parent
ae755d81fa
commit
b96ebe0457
2 changed files with 50 additions and 1 deletions
|
@ -141,12 +141,13 @@ comptime {
|
|||
}
|
||||
|
||||
// Utils
|
||||
|
||||
comptime {
|
||||
exportUtilsFn(utils.test_panic, "test_panic");
|
||||
exportUtilsFn(utils.increfC, "incref");
|
||||
exportUtilsFn(utils.decrefC, "decref");
|
||||
exportUtilsFn(utils.decrefCheckNullC, "decref_check_null");
|
||||
exportUtilsFn(utils.expectFailed, "expect_failed");
|
||||
exportUtilsFn(utils.getExpectFailures, "get_expect_failures");
|
||||
|
||||
@export(utils.panic, .{ .name = "roc_builtins.utils." ++ "panic", .linkage = .Weak });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue