Skip to content

Add sysconf names for Android #8602

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

Closed
wants to merge 1 commit into from
Closed

Conversation

sanxiyn
Copy link
Member

@sanxiyn sanxiyn commented Aug 19, 2013

Linux and Android share the kernel, but not the C library, so sysconf constants are different. For example, _SC_PAGESIZE is 30 on Linux, but 39 on Android.

This patch

  • splits sysconf constants to sysconf module
  • merges non-MIPS and MIPS sysconf constants (they are same)
  • adds Android sysconf constants

This patch also lets mmap tests to pass on Android.

bors added a commit that referenced this pull request Aug 21, 2013
Linux and Android share the kernel, but not the C library, so sysconf constants are different. For example, _SC_PAGESIZE is 30 on Linux, but 39 on Android.

This patch
* splits sysconf constants to sysconf module
* merges non-MIPS and MIPS sysconf constants (they are same)
* adds Android sysconf constants

This patch also lets mmap tests to pass on Android.
@bors bors closed this Aug 21, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 7, 2022
…loned, r=llogiq

Fix ICE for `iter_overeager_cloned`

Fix rust-lang/rust-clippy#8527

changelog: Fix ICE for [`iter_overeager_cloned`]
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