Skip to content

std::sys configurability #113410

Description

@mkroening

In #113358, I tried to add a check for poll returning ENOSYS to the runtime initialization path of Linux.

The use-case was adding a target for the Unikraft Unikernel Development Kit, which does not support poll, in its most basic configuration and instead stubs it, returning ENOSYS.

@workingjubilee proposed in #113358 (comment) that we might want to make sys easier to configure according to different target's capabilities (even from target-spec.json).

@rustbot label: +A-technical-debt

Activity

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

    A-technical-debtArea: Internal cleanup workO-linuxOperating system: LinuxT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions