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