{"push_id":1088793134,"size":2,"distinct_size":0,"ref":"refs/heads/master","head":"02acf0917f88cf7896d663d3b2b16ade7fa0e64f","before":"ea6b3ddee9663e27221f366671261b21618394a0","commits":[{"sha":"c31e2e77ed955faafffe7b22859f045cc1e5deec","author":{"email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","name":"Alex Crichton"},"message":"std: Add compatibility with android-9\n\nThe Gecko folks currently use Android API level 9 for their builds, so they're\nrequesting that we move back our minimum supported API level from 18 to 9. Turns\nout, ABI-wise at least, there's not that many changes we need to take care of.\nThe `ftruncate64` API appeared in android-12 and the `log2` and `log2f` APIs\nappeared in android-18. We can have a simple shim for `ftruncate64` which falls\nback on `ftruncate` and the `log2` function can be approximated with just\n`ln(f) / ln(2)`.\n\nThis should at least get the standard library building on API level 9, although\nthe tests aren't quite happening there just yet. As we seem to be growing a\nnumber of Android compatibility shims, they're now centralized in a common\n`sys::android` module.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/c31e2e77ed955faafffe7b22859f045cc1e5deec"},{"sha":"02acf0917f88cf7896d663d3b2b16ade7fa0e64f","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #33211 - alexcrichton:android-back-in-time, r=nagisa\n\nstd: Add compatibility with android-9\n\nThe Gecko folks currently use Android API level 9 for their builds, so they're\nrequesting that we move back our minimum supported API level from 18 to 9. Turns\nout, ABI-wise at least, there's not that many changes we need to take care of.\nThe `ftruncate64` API appeared in android-12 and the `log2` and `log2f` APIs\nappeared in android-18. We can have a simple shim for `ftruncate64` which falls\nback on `ftruncate` and the `log2` function can be approximated with just\n`ln(f) / ln(2)`.\n\nThis should at least get the standard library building on API level 9, although\nthe tests aren't quite happening there just yet. As we seem to be growing a\nnumber of Android compatibility shims, they're now centralized in a common\n`sys::android` module.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/02acf0917f88cf7896d663d3b2b16ade7fa0e64f"}]}