mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-08 00:29:05 -04:00
a0a2ce92ca
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);