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

Add non-standard Linux SysconfVar variants #1761

Merged
merged 1 commit into from Jul 13, 2022

Conversation

stevenengler
Copy link
Contributor

Closes #1240.

You can find these options near the end of https://man7.org/linux/man-pages/man3/sysconf.3.html.

I can see that the libc crate defines these for Linux and Android, but I'm not sure if they're defined for any others as well.

@asomers
Copy link
Member

asomers commented Jul 13, 2022

LGTM, but needs a CHANGELOG entry

@stevenengler
Copy link
Contributor Author

LGTM, but needs a CHANGELOG entry

Amended it to the commit.

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@bors bors bot merged commit fb65331 into nix-rust:master Jul 13, 2022
@stevenengler stevenengler deleted the sysconf-linux-var branch July 13, 2022 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to find SysconfVar::_SC_NPROCESSORS_ONLN in nix
2 participants