Skip to content

preadv2 is not supported on musl libc #3760

Closed
@NobodyXu

Description

@NobodyXu

The preadv2 function is present on -gnu target, however when compiling on -musl target, which is surprising.

The jobserver-rs would like to use it to optimize it's performance rust-lang/jobserver-rs#90 (the try_acquire optimization has shipped once but reverted, so I opened another PR to use raw syscall directly).

FYI, my motivation is to that this API is used in cc-rs to improve performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions