use zig's decref instead of an LLVM implementation

This commit is contained in:
Folkert 2021-09-01 16:58:05 +02:00
parent 59c63ef3a8
commit 5cb7dbd3cc
5 changed files with 34 additions and 104 deletions

View file

@ -109,6 +109,7 @@ comptime {
const utils = @import("utils.zig");
comptime {
exportUtilsFn(utils.test_panic, "test_panic");
exportUtilsFn(utils.decrefC, "decref");
@export(utils.panic, .{ .name = "roc_builtins.utils." ++ "panic", .linkage = .Weak });
}