From c7db5b96d615ad6c743287e4d84dfd87c5bbc46e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 1 Nov 2022 14:10:35 -0700 Subject: [PATCH] get rid of stage1 compat --- src/Command.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Command.zig b/src/Command.zig index 418181a34..109e4d79f 100644 --- a/src/Command.zig +++ b/src/Command.zig @@ -57,10 +57,7 @@ stderr: ?File = null, /// If set, this will be executed /in the child process/ after fork but /// before exec. This is useful to setup some state in the child before the /// exec process takes over, such as signal handlers, setsid, setuid, etc. -pre_exec: switch (builtin.zig_backend) { - .stage1 => ?PreExecFn, - else => ?*const PreExecFn, -} = null, +pre_exec: ?*const PreExecFn, /// User data that is sent to the callback. Set with setData and getData /// for a more user-friendly API.