| author | |
| committer | |
| log | 3eeb70540d7f40526b4f4549deb6e2bc792bb3b2 |
| tree | 5e2ed87bae075a629ba8d38cb25627538fab520e |
| parent | 05b185811e7427296bc6b6231d0b7f882f118d38 |
crash repo: `zig std 1 2 3 4 5` (in a debug build)1 files changed, 1 insertions(+), 1 deletions(-)
src/main.zig+1-1| ... | ... | @@ -5402,7 +5402,7 @@ fn jitCmd( |
| 5402 | 5402 | defer thread_pool.deinit(); |
| 5403 | 5403 | |
| 5404 | 5404 | var child_argv: std.ArrayListUnmanaged([]const u8) = .{}; |
| 5405 | try child_argv.ensureUnusedCapacity(arena, args.len + 2); | |
| 5405 | try child_argv.ensureUnusedCapacity(arena, args.len + 4); | |
| 5406 | 5406 | |
| 5407 | 5407 | // We want to release all the locks before executing the child process, so we make a nice |
| 5408 | 5408 | // big block here to ensure the cleanup gets run when we extract out our argv. |