[WIP] Use zig build system in build script; Nearly fix str tests

This commit is contained in:
Jared Ramirez 2020-12-04 14:05:55 -07:00
parent fc2a37b22b
commit 7e9cf27d94
5 changed files with 74 additions and 51 deletions

View file

@ -797,8 +797,8 @@ test "RocStr.concat: small concat small" {
expect(roc_str3.eq(result));
}
pub fn strConcatC(ptrSize: u32, result_in_place: InPlace, arg1: RocStr, arg2: RocStr) callconv(.C) RocStr {
return strConcat(std.heap.c_allocator, ptrSize, result_in_place, arg1, arg2);
pub fn strConcatC(ptr_size: u32, result_in_place: InPlace, arg1: RocStr, arg2: RocStr) callconv(.C) RocStr {
return strConcat(std.heap.c_allocator, ptr_size, result_in_place, arg1, arg2);
}
inline fn strConcat(allocator: *Allocator, ptr_size: u32, result_in_place: InPlace, arg1: RocStr, arg2: RocStr) RocStr {