Skip to content

std.Io.Threaded: handle systems that don't have preadv #25739

@andrewrk

Description

@andrewrk

Extracted from #25592.

const have_preadv = switch (native_os) {
    .windows, .haiku, .serenity => false, // 💩💩💩
    else => true,
};
    if (!have_preadv) @compileError("TODO");

Windows has its own implementation of fileReadPositional so this is a task for haiku and serenity only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.os-haikuHaikuos-serenitySerenityOSstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions