summaryrefslogtreecommitdiff
path: root/src/Command.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-11-01 14:10:35 -0700
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-11-01 14:10:35 -0700
commitc7db5b96d615ad6c743287e4d84dfd87c5bbc46e (patch)
treee51bc7c99a86fe0f6b5d0043b9da48da3665c3a5 /src/Command.zig
parent74d8d6cd6c2ef51357392f1509eb9ff4566e83dc (diff)
get rid of stage1 compat
Diffstat (limited to 'src/Command.zig')
-rw-r--r--src/Command.zig5
1 files changed, 1 insertions, 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.