summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump ctest from 0.2.6 to 0.2.7dependabot/cargo/ctest-0.2.7dependabot[bot]2018-11-262-7/+16
| | | | | | | Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.6 to 0.2.7. - [Release notes](https://github.com/alexcrichton/ctest/releases) - [Commits](https://github.com/alexcrichton/ctest/commits/0.2.7) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Auto merge of #1141 - gnzlbg:cats, r=gnzlbgbors2018-11-232-5/+6
|\ | | | | | | | | | | Use crates.io keywords and categories Closes #651 .
| * Use crates.io keywords and categoriesgnzlbg2018-11-222-5/+6
| | | | | | | | Closes #651 .
* | Auto merge of #1139 - gnzlbg:map_anon, r=gnzlbgbors2018-11-221-0/+1
|\ \ | |/ |/| | | | | | | Add alias for MAP_ANONYMOUS to Apple targets. Closes #1060 .
| * Add alias for MAP_ANONYMOUS to Apple targets.gnzlbg2018-11-221-0/+1
|/ | | | Closes #1060 .
* Remove unstable `libc` feature on rustc-dep-of-std0.2.44Alex Crichton2018-11-211-9/+1
| | | | No longer needed and this is done via other means in upstream rustc
* Auto merge of #1134 - alexcrichton:rustc-test, r=gnzlbgbors2018-11-216-14/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | Prepare for being included via crates.io into std This commit prepares the `libc` crate to be included directly into the standard library via crates.io. More details about this can be found on rust-lang/rust#56092, but the main idea is that this crate now depends on core/compiler-builtins explicitly (but off-by-default). The main caveat here is that this activates `no_core` when building as part of libstd, which means that it needs to explicitly have an `iter` and `option` module for the expansion of `for` loops to work.
| * Prepare for being included via crates.io into stdAlex Crichton2018-11-216-14/+29
|/ | | | | | | | | | | This commit prepares the `libc` crate to be included directly into the standard library via crates.io. More details about this can be found on rust-lang/rust#56092, but the main idea is that this crate now depends on core/compiler-builtins explicitly (but off-by-default). The main caveat here is that this activates `no_core` when building as part of libstd, which means that it needs to explicitly have an `iter` and `option` module for the expansion of `for` loops to work.
* Auto merge of #1129 - gnzlbg:sgx, r=gnzlbgbors2018-11-2118-223/+1063
|\ | | | | | | | | | | Add SGX C types cc @jethrogb
| * splice the common libc functions and ctypes throughout the librarygnzlbg2018-11-2119-274/+1053
| |
| * Add SGX C types.gnzlbg2018-11-205-182/+243
| |
* | Auto merge of #1132 - glandium:master, r=alexcrichtonbors2018-11-211-1/+1
|\ \ | | | | | | | | | core::ffi::c_void is available since rustc 1.30
| * | core::ffi::c_void is available since rustc 1.30Mike Hommey2018-11-211-1/+1
| | |
* | | Auto merge of #1133 - glandium:musl-mips, r=gnzlbgbors2018-11-211-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Add missing condition for musl mips64 unix::uclibc::mips has both support for mips and mips64, but it's currently only imported for mips.
| * | Add missing condition for musl mips64Mike Hommey2018-11-211-1/+1
|/ / | | | | | | | | unix::uclibc::mips has both support for mips and mips64, but it's currently only imported for mips.
* | Auto merge of #1131 - palfrey:appveyor-reqwest, r=gnzlbgbors2018-11-201-2/+2
|\ \ | |/ |/| | | | | | | Use Reqwest backend for Appveyor, not Hyper which is deprecated Since https://github.com/rust-lang-nursery/rustup.rs/pull/1222 Appveyor builds have been complaining, so should stop asking for the Hyper backend
| * Use Reqwest backend for Appveyor, not Hyper which is deprecatedTom Parker-Shemilt2018-11-201-2/+2
|/
* Auto merge of #1126 - gnzlbg:clean_no_libc, r=gnzlbgbors2018-11-204-196/+159
|\ | | | | | | | | | | Factor out platforms for which libc is empty This change shouldn't change any functionality. It just separates the platforms for which `libc` is currently empty (only `wasm32-unknown-unknown`), from those for which it isn't. This is a non-functional change.
| * Factor out platforms for which libc is emptygnzlbg2018-11-204-196/+159
|/
* Auto merge of #1127 - gnzlbg:fmt, r=gnzlbgbors2018-11-2016-320/+400
|\ | | | | | | Formatting and shellcheck
| * Fix shellcheck issuesgnzlbg2018-11-2012-113/+134
| |
| * re-formatgnzlbg2018-11-195-210/+269
| |
* | Auto merge of #1128 - asomers:chflags, r=alexcrichtonbors2018-11-207-0/+77
|\ \ | |/ |/| | | Add chflags(2) and friends
| * Add chflags(2) and friendsAlan Somers2018-11-197-0/+77
|/
* Auto merge of #1123 - newpavlov:patch-1, r=gnzlbgbors2018-11-161-1/+1
|\ | | | | | | | | | | | | Use OR in the license field According to [The Manifest Format](https://doc.rust-lang.org/cargo/reference/manifest.html): >Multiple licenses can be separated with a `/`, although that usage is deprecated. Instead, use a license expression with AND and OR operators to get more explicit semantics.
| * use OR in the license fieldArtyom Pavlov2018-11-161-1/+1
|/
* Auto merge of #1122 - gnzlbg:unused_macro, r=alexcrichtonbors2018-11-121-0/+1
|\ | | | | | | the f macro is unused in some targets
| * the f macro is unused in some targetsgnzlbg2018-11-101-0/+1
| |
* | Merge pull request #1121 from smibarber/signalfd-sigsysgnzlbg2018-11-106-6/+36
|\ \ | |/ |/| Add support for SIGSYS in signalfd
| * android: restore signalfd fields to c_ulonglongStephen Barber2018-11-071-4/+4
| | | | | | | | Android's NDK typedefs __u64 as unsigned long long.
| * Add support for SIGSYS in signalfdStephen Barber2018-11-066-10/+40
|/ | | | | | | | Linux 4.18 added support for SIGSYS info in signalfd. Add the new fields to signalfd_siginfo. While the kernel has support for these new fields now, no libc has shipped a release with the new signalfd fields.
* Auto merge of #1119 - jakllsch:netbsd-extattr-not-in-libutil, r=alexcrichtonbors2018-11-031-4/+4
|\ | | | | | | | | | | | | NetBSD: these extattr functions are not in libutil, but libc - extattr_namespace_to_string() - extattr_string_to_namespace()
| * NetBSD: these extattr functions are not in libutil, but libcJonathan A. Kollasch2018-11-021-4/+4
| | | | | | | | | | - extattr_namespace_to_string() - extattr_string_to_namespace()
* | Auto merge of #1118 - smaeul:flock, r=gnzlbgbors2018-11-037-0/+28
|\ \ | |/ |/| | | | | | | | | | | Add F_RDLCK/F_WRLCK/F_UNLCK to several platforms These are used by the flock wrapper in rustc_data_structures. The constants were already present in x86_64-linux-gnu and BSD (since 4928bd986907). Currently the `flock` wrapper in `rustc_data_structures` does not work on several 32-bit musl targets, because they expect the `LARGEFILE64` version of the `F_SETLK`/`F_SETLKW` constants. This PR is a prerequisite to converting that code to use the `libc` types and constants, instead of (inaccurately) duplicating them, since `libc` already provides architecture-specific definitions of the relevant constants.
| * Add F_RDLCK/F_WRLCK/F_UNLCK to several platformsSamuel Holland2018-11-017-0/+28
|/ | | | | | These are used by the flock wrapper in rustc_data_structures. The constants were already present in x86_64-linux-gnu and BSD (since 4928bd986907).
* Auto merge of #1117 - jakllsch:netbsd-extattr-signatures, r=gnzlbgbors2018-10-311-3/+3
|\ | | | | | | NetBSD: fix extattr_set_* return types
| * NetBSD: fix extattr_set_* return typesJonathan A. Kollasch2018-10-311-3/+3
| |
* | Auto merge of #1115 - asomers:libutil_overlinking, r=alexcrichtonbors2018-10-311-136/+135
|\ \ | | | | | | | | | | | | | | | | | | | | | On FreeBSD and Dragonfly, don't unnecessarily link to libutil Also, alphabetize this section, since I'm merging two sections anyway. Fixes #1113
| * | On FreeBSD and Dragonfly, don't unnecessarily link to libutilAlan Somers2018-10-301-136/+135
| | | | | | | | | | | | | | | | | | Also, alphabetize this section, since I'm merging two sections anyway. Fixes #1113
* | | Auto merge of #1108 - jakllsch:netbsd-pthread-types, r=alexcrichtonbors2018-10-318-8/+26
|\ \ \ | |_|/ |/| | | | | NetBSD: fix pthread types on arm and powerpc
| * | style: allow target_arch #[cfg()] statementsJonathan A. Kollasch2018-10-301-1/+2
| | |
| * | wrap a long lineJonathan A. Kollasch2018-10-301-1/+2
| | |
| * | NetBSD: fix previous for targets other than aarch64Jonathan A. Kollasch2018-10-305-5/+5
| | |
| * | NetBSD: rework recent pthread type corrections to avoid cfg_if!Jonathan A. Kollasch2018-10-307-45/+26
| | |
| * | whitespace fix for previousJonathan A. Kollasch2018-10-301-2/+2
| | |
| * | NetBSD: fix pthread types on arm and powerpcJonathan A. Kollasch2018-10-281-15/+50
| | | | | | | | | | | | | | | Also while here: fix powerpc64, mips, and mips64 pthread types. These targets are not yet fully/correctly implemented in rust-libc however.
* | | Merge pull request #1116 from rust-lang/dependabot/cargo/ctest-0.2.6gnzlbg2018-10-312-4/+4
|\ \ \ | |_|/ |/| | Bump ctest from 0.2.4 to 0.2.6
| * | Bump ctest from 0.2.4 to 0.2.6dependabot[bot]2018-10-312-4/+4
|/ / | | | | | | | | | | | | Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.4 to 0.2.6. - [Release notes](https://github.com/alexcrichton/ctest/releases) - [Commits](https://github.com/alexcrichton/ctest/commits) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | Auto merge of #1114 - asomers:extattr, r=alexcrichtonbors2018-10-304-2/+113
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Add extattr(2) and extattr(3) definitions for FreeBSD and NetBSD DragonflyBSD does define 3 of these 14 functions. But I elected not to add it to the PR because I can't find any evidence that these syscalls are used on Dragonfly, even in the base system. And by themselves, those three are insufficient for the xattr crate.
| * | Disable the aarch64-unknown-linux-musl workaround for #856Alan Somers2018-10-301-2/+0
| | | | | | | | | | | | | | | | | | This bug was never diagnosed. Perhaps it's been resolved by a newer compiler. Fixes #856