summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #2149 - lucab:ups/release-0.2.94, r=JohnTitor0.2.94bors2021-04-262-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump to 0.2.94 Changes: * Add kqueue1 to NetBSD * Add Android items from "sys/system_properties.h" * Add new header to the android header files list * Add dl_iterate_phdr to Android * Update dl_phdr_info definition to more closely match header files * linux: add syncfs(2) * Add macos clonefile functions * Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_like * Add RLIM_NLIMITS on android * Unified Linux TCP socket options
| * Bump to 0.2.94Luca BRUNO2021-04-262-3/+3
|/ | | | | | | | | | | | | | Changes: * Add kqueue1 to NetBSD * Add Android items from "sys/system_properties.h" * Add new header to the android header files list * Add dl_iterate_phdr to Android * Update dl_phdr_info definition to more closely match header files * linux: add syncfs(2) * Add macos clonefile functions * Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_like * Add RLIM_NLIMITS on android * Unified Linux TCP socket options
* Auto merge of #2148 - lucab:ups/linux-syncfs, r=JohnTitorbors2021-04-232-0/+2
|\ | | | | | | | | | | | | | | | | linux: add syncfs(2) This adds binding for `syncfs` on Linux, which is implemented by all supported libraries. Ref: https://man7.org/linux/man-pages/man2/syncfs.2.html
| * linux: add syncfs(2)Luca BRUNO2021-04-232-0/+2
|/ | | | | | | This adds binding for `syncfs` on Linux, which is implemented by all supported libraries. Ref: https://man7.org/linux/man-pages/man2/syncfs.2.html
* Auto merge of #2147 - nthery:clonefile, r=JohnTitorbors2021-04-173-0/+23
|\ | | | | | | Add macos clonefile functions
| * Add macos clonefile functionsNicolas Thery2021-04-173-0/+23
| |
* | Auto merge of #2146 - coolreader18:android-nlimits, r=JohnTitorbors2021-04-171-0/+1
|\ \ | |/ |/| | | Add RLIM_NLIMITS on android
| * Add RLIM_NLIMITS on androidNoah2021-04-161-0/+1
|/
* Auto merge of #2145 - a1phyr:kqueue1, r=Amanieubors2021-04-122-0/+3
|\ | | | | | | | | | | Add kqueue1 to NetBSD Add `kqueue1` to NetBSD as described [in the `man`](https://www.freebsd.org/cgi/man.cgi?query=kqueue1&manpath=NetBSD+9.1).
| * Add kqueue1 to NetBSDBenoît du Garreau2021-04-122-0/+3
|/
* Auto merge of #2141 - zonyitoo:master, r=JohnTitorbors2021-04-126-41/+37
|\ | | | | | | | | | | Unified Linux TCP socket options https://github.com/torvalds/linux/blob/master/include/uapi/linux/tcp.h
| * Unified Linux TCP socket optionszonyitoo2021-04-096-41/+37
| |
* | Auto merge of #2144 - kjvalencik:master, r=JohnTitorbors2021-04-122-2/+101
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add dl_iterate_phdr to Android Adds the `dl_iterate_phdr` function for Android targets. This is required for Android support in `gimli` and by proxy, `backtrace`. I tested this in [`backtrace`](https://github.com/rust-lang/backtrace-rs/pull/415) both in an i686 emulator and a physical arm64 device. This API is only available on Version 21+. I'm not sure how that's typically handled in `libc`, so I added a doc comment. Let me know what else is needed!
| * | Update dl_phdr_info definition to more closely match header filesK.J. Valencik2021-04-092-24/+41
| | | | | | | | | | | | Also, update tests to skip conflicts
| * | Add dl_iterate_phdr to AndroidK.J. Valencik2021-04-082-1/+83
|/ /
* | Auto merge of #2143 - coolreader18:rlim-nlimits-linux, r=JohnTitorbors2021-04-0811-0/+11
|\ \ | | | | | | | | | | | | | | | Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_like At least on my machine (amd64 Arch) both `RLIMIT_NLIMITS` and `RLIM_NLIMITS` are defined as the same.
| * | Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_likeNoah2021-04-0811-0/+11
| | |
* | | Auto merge of #2142 - GuillaumeGomez:add-android-items, r=JohnTitorbors2021-04-082-0/+7
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | Add Android items from "sys/system_properties.h" It adds the following items: * __system_property_set * __system_property_get * PROP_VALUE_MAX
| * | Add new header to the android header files listGuillaume Gomez2021-04-081-0/+1
| | |
| * | Add Android items from "sys/system_properties.h":Guillaume Gomez2021-04-081-0/+6
|/ / | | | | | | | | | | * __system_property_set * __system_property_get * PROP_VALUE_MAX
* | Auto merge of #2140 - WiSaGaN:master, r=JohnTitor0.2.93bors2021-04-062-3/+3
|\ \ | | | | | | | | | Bump to 0.2.93
| * | Bump to 0.2.93Lu, Wangshan2021-04-062-3/+3
|/ /
* | Auto merge of #2139 - JohnTitor:style-rework, r=Amanieubors2021-04-0650-3994/+964
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean-up the style check - Only run the cfg check for single lines - This is a temporary workaround for the multiline `cfg`s. - Allow long comments containing a link - I don't think it makes much sense to break comments containing the reference links. - Relax the line length limit to 100 - Given the `cfg` condition often becomes complex, the 80 characters limit is too strict for me.
| * | Fix styleYuki Okushi2021-04-0648-3985/+958
| | |
| * | Relax the line length limit to 100Yuki Okushi2021-04-062-6/+4
| | |
| * | Allow long comments containing a linkYuki Okushi2021-04-061-1/+1
| | |
| * | Only run the cfg check for single linesYuki Okushi2021-04-061-3/+2
| | |
* | | Auto merge of #2135 - zonyitoo:master, r=JohnTitorbors2021-04-0534-1037/+400
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Unified all Linux sockopts definitions by arch - ref rust-lang/socket2#213 Fixes #2133
| * | Unified all Linux sockopts definitions by archzonyitoo2021-04-0534-1037/+400
| | | | | | | | | | | | - fixed other missing SO_INCOMING_CPU definition in rust-lang/socket2#213
* | | Auto merge of #2138 - JohnTitor:rerun-if-changed, r=Amanieubors2021-04-051-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Specify `cargo:rerun-if-changed=build.rs` to avoid re-building Fixes #1978 r? `@Amanieu`
| * | | Specify `cargo:rerun-if-changed=build.rs` to avoid re-buildingYuki Okushi2021-04-051-0/+3
|/ / /
* | | Auto merge of #2137 - asomers:netbsd-unpacked, r=Amanieubors2021-04-041-2/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed repr(packed) from some NetBSD structures The structures in question have always been properly aligned, so the packed attribute only serves to generate annoying compiler warnings. It will be removed in the next release of NetBSD. https://github.com/NetBSD/src/commit/415c686e207c29e0b6329b5045273224c091a434
| * | | Removed repr(packed) from some NetBSD structuresAlan Somers2021-04-041-2/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | The structures in question have always been properly aligned, so the packed attribute only serves to generate annoying compiler warnings. It will be removed in the next release of NetBSD. https://github.com/NetBSD/src/commit/415c686e207c29e0b6329b5045273224c091a434
* | | Auto merge of #2136 - semarie:openbsd-semver, r=JohnTitorbors2021-04-048-5/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | unbreak openbsd after #2109 several symbols added to semver regression tests in "unix" aren't defined on OpenBSD. move these symbols in OS specific files.
| * | unbreak openbsd after #2109Sébastien Marie2021-04-048-5/+35
|/ / | | | | | | | | several symbols added to semver regression tests in "unix" aren't defined on OpenBSD. move these symbols in OS specific files.
* | Auto merge of #2109 - Thomasdezeeuw:issue_2104-regression_tests, r=JohnTitorbors2021-04-0244-2/+18560
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add regression test infrastructure Please the commit messages for details. I still need to add lists for the following targets, but I got the major ones I think. TODO: * aarch64-unknown-hermit * x86_64-unknown-hermit * x86_64-pc-solaris * x86_64-sun-solaris * sparcv9-sun-solaris * x86_64-fortanix-unknown-sgx * x86_64-unknown-illumos * asmjs-unknown-emscripten * wasm32-unknown-emscripten * wasm32-unknown-unknown * wasm32-wasi * Check symbols added after commit ed45c2649b848bc2df48ba10d68194d45da03b75. TODO: add a bit to the contributing guide about adding to these lists. Closes #2104.
| * | Output PASSED 1 tests in semver testThomas de Zeeuw2021-04-021-0/+1
| | | | | | | | | | | | | | | Testing on Android (in ci/runtest-android.rs) seems to depend on the test outputting it was successful.
| * | Fix semver test for x86_64-unknown-linux-gnux32 targetThomas de Zeeuw2021-04-024-9/+8
| | |
| * | Fix semver test for Linux mips musl targetsThomas de Zeeuw2021-04-023-41/+10
| | | | | | | | | | | | | | | * mips-unknown-linux-musl * mipsel-unknown-linux-musl
| * | Fix semver test for Linux ARM targetsThomas de Zeeuw2021-04-023-97/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes it for at least the following targets: * aarch64-unknown-linux-gnu * arm-linux-androideabi * arm-unknown-linux-gnueabihf * arm-unknown-linux-gnueabihf * arm-unknown-linux-musleabihf
| * | Fix semver test for asmjs-unknown-emscripten targetThomas de Zeeuw2021-04-022-3/+5
| | |
| * | Fix semver lists for Linux using muslThomas de Zeeuw2021-03-275-608/+606
| | |
| * | Support architecture environment specific semver listsThomas de Zeeuw2021-03-271-0/+3
| | | | | | | | | | | | | | | This allow lists like "linux-gnu-x86_64" which is only used for Linux, using GNU libc on 64 bit x86.
| * | Add section about semver list to contributing guideThomas de Zeeuw2021-03-271-1/+11
| | |
| * | Add Fuchsia semver listThomas de Zeeuw2021-03-2710-34/+1633
| | |
| * | Add OpenBSD semver listThomas de Zeeuw2021-03-271-0/+1039
| | |
| * | Add DragonFlyBSD semver listThomas de Zeeuw2021-03-271-0/+1346
| | |
| * | Fix NetBSD semver list for 32 bitsThomas de Zeeuw2021-03-274-5/+12
| | |
| * | Fix the semver list for 32 bit FreeBSDThomas de Zeeuw2021-03-272-18/+18
| | |
| * | Add Android semver listsThomas de Zeeuw2021-03-276-1/+3462
| | | | | | | | | | | | | | | | | | | | | One would expect Android to include the Unix and Linux lists, as it's Linux based. However because Android is missing too many definitions I found it easier to create a fully separate list for Android specifically.