const can_execv: type = switch (builtin.os.tag) {
    .windows, .haiku, .wasi => false,
    else => true,
};

Tells whether calling the execv or execve functions will be a compile error.