Commit c09d0cb
fix(build): use cross-platform init.args.iterateAllocator()
When running on windows an allocator is required:
+- run exe minilua (buildvm_arch.h)
+- run cmd
+- run exe patch (dynasm-patched.lua)
+- compile exe patch Debug native 1 errors
...\zig-x86_64-windows-0.16.0\lib\std\process\Args.zig:39:36: error: In Windows, use initAllocator instead.
if (native_os == .windows) @CompileError("In Windows, use initAllocator instead.");
As this one-shot script uses an arena, there is no deinit() call1 parent 63e3aab commit c09d0cb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments