| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-27 | mv std libs to library/ | mark | -167/+0 | |
| 2020-06-10 | Migrate to numeric associated consts | Lzu Tao | -1/+1 | |
| 2020-01-02 | Use drop instead of the toilet closure `|_| ()` | Lzu Tao | -3/+3 | |
| 2019-11-29 | Format libstd/sys with rustfmt | David Tolnay | -22/+29 | |
| This commit applies rustfmt with rust-lang/rust's default settings to files in src/libstd/sys *that are not involved in any currently open PR* to minimize merge conflicts. THe list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in outstanding_files, the relevant commands were: $ find src/libstd/sys -name '*.rs' \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ rg libstd/sys outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of the files. To confirm no funny business: $ git checkout $THIS_COMMIT^ $ git show --pretty= --name-only $THIS_COMMIT \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ git diff $THIS_COMMIT # there should be no difference | ||||
| 2019-02-28 | libstd => 2018 | Taiki Endo | -5/+5 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2016-10-14 | Android: Fix unused-imports warning | Tobias Bucher | -1/+2 | |
| 2016-10-14 | Only use Android fallback for {ftruncate,pread,pwrite} on 32 bit | Tobias Bucher | -0/+24 | |
| 2016-10-12 | Remove unnecessary `unsafe` block | Tobias Bucher | -20/+16 | |
| 2016-10-11 | Fix Android compilation `io::Error` -> `io::ErrorKind` | Tobias Bucher | -2/+2 | |
| 2016-10-09 | Use `try_into` and move some functions | Tobias Bucher | -6/+7 | |
| 2016-10-09 | Dynamically detect presence of `p{read,write}64` on Android | Tobias Bucher | -6/+35 | |
| 2016-04-27 | std: Add compatibility with android-9 | Alex Crichton | -0/+119 | |
| The Gecko folks currently use Android API level 9 for their builds, so they're requesting that we move back our minimum supported API level from 18 to 9. Turns out, ABI-wise at least, there's not that many changes we need to take care of. The `ftruncate64` API appeared in android-12 and the `log2` and `log2f` APIs appeared in android-18. We can have a simple shim for `ftruncate64` which falls back on `ftruncate` and the `log2` function can be approximated with just `ln(f) / ln(2)`. This should at least get the standard library building on API level 9, although the tests aren't quite happening there just yet. As we seem to be growing a number of Android compatibility shims, they're now centralized in a common `sys::android` module. | ||||
