mirror of
https://github.com/ziglang/zig.git
synced 2026-02-06 06:27:05 +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);