mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
clean up expect code when not running tests
This commit is contained in:
parent
91ea71c7aa
commit
498004c554
3 changed files with 11 additions and 4 deletions
|
@ -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 = .Strong });
|
||||
@export(expect.setMmappedFile, .{ .name = "set_mmapped_file", .linkage = .Weak });
|
||||
}
|
||||
|
||||
if (builtin.target.cpu.arch == .aarch64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue