mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-22 03:22:30 +00:00
working expects in roc dev
This commit is contained in:
parent
67494e9df2
commit
8c4a2f58fc
10 changed files with 129 additions and 21 deletions
|
@ -168,9 +168,13 @@ comptime {
|
|||
|
||||
if (builtin.target.cpu.arch != .wasm32) {
|
||||
exportUtilsFn(expect.expectFailedStart, "expect_failed_start");
|
||||
exportUtilsFn(expect.expectFailedFinalize, "expect_failed_finalize");
|
||||
|
||||
// sets the buffer used for expect failures
|
||||
@export(expect.setSharedBuffer, .{ .name = "set_shared_buffer", .linkage = .Weak });
|
||||
//
|
||||
|
||||
exportUtilsFn(expect.readSharedBufferEnv, "read_env_shared_buffer");
|
||||
}
|
||||
|
||||
if (builtin.target.cpu.arch == .aarch64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue