pass the shared buffer to zig directly

This commit is contained in:
Folkert 2022-07-27 17:16:12 +02:00
parent a60a49bce6
commit f7452b8889
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 9 additions and 24 deletions

View file

@ -171,7 +171,7 @@ comptime {
exportUtilsFn(expect.expectFailedFinalize, "expect_failed_finalize");
// sets the buffer used for expect failures
@export(expect.setMmappedFile, .{ .name = "set_mmapped_file", .linkage = .Weak });
@export(expect.setSharedBuffer, .{ .name = "set_shared_buffer", .linkage = .Weak });
}
if (builtin.target.cpu.arch == .aarch64) {