Skip to content

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

Open

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.

Activity

  1. added this to the unplanned milestone on Oct 29, 2025
  2. added
    enhancement
    contributor friendly
    standard library
    os-serenity
    on Oct 29, 2025
  3. The-King-of-Toasters commented on Oct 31, 2025

    @The-King-of-Toasters
    Contributor

    Haiku has preadv at home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyenhancementos-haikuos-serenitystandard library

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions