mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-19 10:09:47 +00:00
make the mmapped buffer configurable
This commit is contained in:
parent
64c2d8d87e
commit
40d7e94a17
5 changed files with 37 additions and 30 deletions
|
@ -169,6 +169,9 @@ 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.setMmappedFile, .{ .name = "set_mmapped_file", .linkage = .Strong });
|
||||
}
|
||||
|
||||
if (builtin.target.cpu.arch == .aarch64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue