Skip to content

Conversation

GabrielMajeri
Copy link
Contributor

This pull requests add the _SC_NPROCESSORS_CONF constant to libc for Android targets. The similar _SC_NPROCESSORS_ONLN already existed.

The reason for adding only this constant is to help fix an issue with num_cpus.

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Jun 24, 2017

📌 Commit 93f897a has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jun 24, 2017

⌛ Testing commit 93f897a with merge 2f28640...

bors added a commit that referenced this pull request Jun 24, 2017
Add missing Android constant

This pull requests add the `_SC_NPROCESSORS_CONF` constant to `libc` for Android targets. The similar `_SC_NPROCESSORS_ONLN` already existed.

The reason for adding only this constant is to help fix an [issue with `num_cpus`](seanmonstar/num_cpus#34).
@bors
Copy link
Contributor

bors commented Jun 24, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 2f28640 to master...

@bors bors merged commit 93f897a into rust-lang:master Jun 24, 2017
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.

3 participants