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

Backport two small Android patches #33996

Merged
merged 2 commits into from
May 31, 2016
Merged

Commits on May 31, 2016

  1. test: Use set sysroot for more NDK compatibility

    Recent versions of the Android NDK no longer ship debuggers like
    `arm-linux-androideabi-gdb`, but instead one prebuilt binary `gdb`. We can
    symlink this into place at least to get our detection still working, but it now
    needs to be told what the sysroot is so it can correctly do... something. Long
    story short, tests didn't pass with this change and after this change they pass.
    alexcrichton committed May 31, 2016
    Configuration menu
    Copy the full SHA
    caa6aae View commit details
    Browse the repository at this point in the history
  2. std: Use memalign, not posix_memalign, on Android

    We've gotten requests to move our Android support as far back as API level 9
    where unfortunately the `posix_memalign` API wasn't implemented yet. Thankfully,
    however, the `memalign` API was and it appears to be usable with `free` on the
    Android platform (see comments included in commit).
    
    This should help fix some of the last few test failures when compiling against
    API level 9.
    alexcrichton committed May 31, 2016
    Configuration menu
    Copy the full SHA
    18cb3ed View commit details
    Browse the repository at this point in the history