mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
Instead, just return ChildProcess directly. This structure does not require a stable address, so we can put it on the stack just fine. If someone wants it on the heap they should do. const proc = try allocator.create(ChildProcess); proc.* = ChildProcess.init(args, allocator);