mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
get rid of stage1 compat
This commit is contained in:
@ -57,10 +57,7 @@ stderr: ?File = null,
|
|||||||
/// If set, this will be executed /in the child process/ after fork but
|
/// 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
|
/// 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.
|
/// exec process takes over, such as signal handlers, setsid, setuid, etc.
|
||||||
pre_exec: switch (builtin.zig_backend) {
|
pre_exec: ?*const PreExecFn,
|
||||||
.stage1 => ?PreExecFn,
|
|
||||||
else => ?*const PreExecFn,
|
|
||||||
} = null,
|
|
||||||
|
|
||||||
/// User data that is sent to the callback. Set with setData and getData
|
/// User data that is sent to the callback. Set with setData and getData
|
||||||
/// for a more user-friendly API.
|
/// for a more user-friendly API.
|
||||||
|
Reference in New Issue
Block a user