Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std::sys configurability #113410

Open
mkroening opened this issue Jul 6, 2023 · 1 comment
Open

std::sys configurability #113410

mkroening opened this issue Jul 6, 2023 · 1 comment
Labels
A-technical-debt Area: Internal cleanup work O-linux Operating system: Linux T-libs Relevant to the library team, which will review and decide on the PR/issue.

Comments

@mkroening
Copy link
Contributor

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

@rustbot rustbot added the A-technical-debt Area: Internal cleanup work label Jul 6, 2023
@mkroening
Copy link
Contributor Author

I just opened #113411, where I added a Unikraft-specific cfg.

@jyn514 jyn514 added O-linux Operating system: Linux T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-technical-debt Area: Internal cleanup work O-linux Operating system: Linux T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants