Commit Graph

2595 Commits

Author SHA1 Message Date
Mackenzie Clark
4c32b9f4b9 move everything back into window mod with the type alias for msvc 2018-12-17 17:57:37 -08:00
Mackenzie Clark
2f25aaa235 add edge case for mingw 2018-12-17 17:24:37 -08:00
Alex Crichton
8b63b1cfb0
Merge pull request #1177 from reitermarkus/macos-netdb
Add `AI_*` constants from `netdb.h` for macOS.
2018-12-17 12:53:32 -06:00
Markus Reiter
b8e64540af Add NI_* constants from netdb.h for macOS. 2018-12-17 16:44:24 +01:00
Markus Reiter
2a9c0c305f Add AI_* constants from netdb.h for macOS. 2018-12-17 16:44:24 +01:00
Mackenzie Clark
313483ba2e add signal and raise bindings
separate for gnu and msvc


scope resolve c_int

these types are not allowed, and more scope resolution


use size_t
2018-12-16 16:23:53 -08:00
Benjamin Saunders
0de81a6bdf Narrow IPTOS_ECN_... definitions 2018-12-15 01:39:32 -08:00
Benjamin Saunders
26c34b7e92 No IP_RECVTOS for DragonFlyBSD 2018-12-15 01:18:54 -08:00
Benjamin Saunders
948f2ab622 Add BSD IP_RECVTOS definitions 2018-12-14 23:12:47 -08:00
Benjamin Saunders
076edb21b1 Add IPV6 analogs 2018-12-14 19:14:42 -08:00
Benjamin Saunders
ae6a26284b Handle inconsistent spelling 2018-12-14 19:14:27 -08:00
Benjamin Saunders
0f9d41ff8a Style fix 2018-12-14 19:14:01 -08:00
Benjamin Saunders
ba5bfc6c07 Fix BSD IP_TOS value 2018-12-14 19:13:53 -08:00
Benjamin Saunders
94e30dfacd Expose unix ECN-related constants 2018-12-14 00:57:46 -08:00
Alex Crichton
ed8309bc03
Merge pull request #1174 from tklauser/mfd-hugetlb
Add MFD_HUGETLB const for linux
2018-12-13 09:34:16 -06:00
Tobias Klauser
df277e295b Add MFD_HUGETLB const for linux
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2018-12-13 13:27:00 +01:00
Alex Crichton
c66221d07d
Merge pull request #1172 from piersfinlayson/master
Fix for rust-lang/rust issue #50583
2018-12-11 15:47:36 -06:00
Piers Finlayson
a01c32d6c8 Fix for rust-lang/rust issue #50583 2018-12-10 19:55:38 +00:00
Alex Crichton
f5636fc618
Merge pull request #1171 from alexcrichton/bump
Fix build on x86_64-unknown-cloudabi, bump version
2018-12-10 11:34:50 -05:00
Alex Crichton
dfb9579acc Fix build on x86_64-unknown-cloudabi, bump version 2018-12-09 19:32:01 -08:00
bors
bf32336688 Auto merge of #1159 - cmbrandenburg:sysv_sem_support, r=alexcrichton
Add support for SysV semaphores on Apple platform
2018-12-09 02:34:28 +00:00
Alex Crichton
7862f87560 Allow Android builds to fail 2018-12-08 18:33:04 -08:00
Craig M. Brandenburg
6d22f54440 Add support for SysV semaphores on Apple platform 2018-12-08 06:50:19 -07:00
bors
01b2be3858 Auto merge of #1167 - asomers:cirrus, r=alexcrichton
Move FreeBSD testing from Travis/QEMU to Cirrus-CI

Fixes #1163
2018-12-08 12:49:40 +00:00
bors
728f6e06b7 Auto merge of #1169 - jmagnuson:feature/move-sol_bluetooth-to-notbsd, r=alexcrichton
Move SOL_BLUETOOTH to notbsd module

https://github.com/torvalds/linux/blob/master/include/linux/socket.h#L334
https://android.googlesource.com/platform/bionic/+/master/libc/include/sys/socket.h#283
https://git.musl-libc.org/cgit/musl/tree/include/sys/socket.h#n259

Seems like it should be okay for a broader exposure than `linux::other`. Maybe I am missing something.
2018-12-08 11:15:58 +00:00
Jon Magnuson
bbed4d4d05 Move SOL_BLUETOOTH to notbsd module 2018-12-08 00:24:42 -06:00
Alan Somers
3f0fff5a94 Remove bors.toml. Per @alexcrichton it isn't needed. 2018-12-07 13:59:55 -07:00
bors
74aeca262e Auto merge of #1168 - asomers:byebye_buildbot, r=alexcrichton
Don't submit build status to buildbot.rust-lang.org

That service no longer exists.
2018-12-07 20:33:38 +00:00
Alan Somers
311722c7c5 Don't submit build status to buildbot.rust-lang.org
That service no longer exists.
2018-12-07 13:24:52 -07:00
Alan Somers
e88e6b99de Move FreeBSD testing from Travis/QEMU to Cirrus-CI
Fixes #1163
2018-12-07 13:11:09 -07:00
bors
f5fa41603d Auto merge of #1158 - strake:TIMER_ABSTIME, r=gnzlbg
define `TIMER_ABSTIME` on BSD
2018-12-07 08:31:53 +00:00
bors
7ada017b53 Auto merge of #1164 - AdelieLinux:musl-endianness, r=alexcrichton
musl: 64-bit: Ensure proper (c)msghdr layout on big-endian

Discovered while debugging: djg/audioipc-2#52
2018-12-06 23:25:32 +00:00
bors
9a8908c0f5 Auto merge of #1165 - xd009642:gid-funcs, r=gnzlbg
Added setegid function

Adding the `setegid` function to libc. I had a look and this is in Apple, Linux and Fuchsia so I'm hoping it works for all the BSDs etc. But if anything fails in CI I'll change it accordingly.
2018-12-06 16:59:50 +00:00
bors
8b207fc467 Auto merge of #1166 - jakllsch:netbsd-tcp-opts-fixes, r=alexcrichton
NetBSD: unbreak tests; neither TCP_NOPUSH or TCP_NOOPT yet exist here
2018-12-06 14:35:26 +00:00
M Farkas-Dyck
7d65de6b61 not define TIMER_ABSTIME on Apple 2018-12-05 16:04:01 -08:00
Jonathan A. Kollasch
b668e77983 NetBSD: unbreak tests; neither TCP_NOPUSH or TCP_NOOPT yet exist here 2018-12-05 19:09:06 +00:00
xd009642
1604cf5802 Added setegid function 2018-12-05 17:46:50 +00:00
A. Wilcox
06bf363e13
musl: 64-bit: Ensure proper (c)msghdr layout on big-endian
Discovered while debugging: djg/audioipc-2#52
2018-12-05 11:38:05 -06:00
bors
f478089b09 Auto merge of #1161 - tklauser:xdp-consts, r=gnzlbg
Add AF_XDP, PF_XDP and SOL_XDP consts for linux

These are needed to work with `AF_XDP` sockets, see https://www.kernel.org/doc/html/v4.19/networking/af_xdp.html
2018-12-05 09:02:10 +00:00
Tobias Klauser
cc22997fd2 Add AF_XDP, PF_XDP and SOL_XDP consts for linux 2018-12-04 21:04:13 +01:00
bors
89faefe20b Auto merge of #1160 - levex:dfly-add-missing-errnos, r=alexcrichton
DragonflyBSD: add ENOMEDIUM and EASYNC

These errno's are defined in <sys/errno.h> on DragonFlyBSD.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-12-03 11:09:38 +00:00
Levente Kurusa
5a3374a9ed
DragonflyBSD: add ENOMEDIUM and EASYNC
These errno's are defined in <sys/errno.h> on DragonFlyBSD.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-12-02 19:24:52 +01:00
M Farkas-Dyck
92d502628c define TIMER_ABSTIME on BSD 2018-12-01 16:39:34 -08:00
bors
31e8b7528d Auto merge of #1157 - Susurrus:sparc64, r=alexcrichton
Add SO_PASSCRED for sparc64

Needed to get `nix` up and running on `sparc64-unknown-linux-gnu`
2018-12-01 19:16:46 +00:00
Bryant Mairs
832828fc4d Add SO_PASSCRED for sparc64 2018-12-01 08:20:02 -08:00
bors
1e8fdcb296 Auto merge of #1156 - rust-lang:dependabot/cargo/ctest-0.2.8, r=gnzlbg
Bump ctest from 0.2.7 to 0.2.8

Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.7 to 0.2.8.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/alexcrichton/ctest/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ctest&package-manager=cargo&previous-version=0.2.7&new-version=0.2.8)](https://dependabot.com/compatibility-score.html?dependency-name=ctest&package-manager=cargo&previous-version=0.2.7&new-version=0.2.8)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
2018-11-28 09:32:20 +00:00
dependabot[bot]
406877e891
Bump ctest from 0.2.7 to 0.2.8
Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/alexcrichton/ctest/releases)
- [Commits](https://github.com/alexcrichton/ctest/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-28 07:00:26 +00:00
bors
af6e4fd2d2 Auto merge of #1155 - semarie:openbsd-unbreak, r=gnzlbg
Openbsd unbreak

- unbreak openbsd after #1128
- unbreak openbsd after #1151
- while here, add `KERN_CPUSTATS` and increment `KERN_MAXID` for openbsd
2018-11-27 21:15:10 +00:00
bors
8bd330a70f Auto merge of #1153 - gnzlbg:fuchsia2, r=alexcrichton
Remove unreachable fuchsia branches

cc @cramertj

So this should be a non-functional change because these branches are unreachable, but please try to build fuchsia with this change to make sure this doesn't break anything.
2018-11-27 20:35:18 +00:00
bors
4113bf258d Auto merge of #1150 - rust-lang:dependabot/cargo/ctest-0.2.7, r=alexcrichton
Bump ctest from 0.2.6 to 0.2.7

Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.6 to 0.2.7.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/alexcrichton/ctest/commits/0.2.7)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ctest&package-manager=cargo&previous-version=0.2.6&new-version=0.2.7)](https://dependabot.com/compatibility-score.html?dependency-name=ctest&package-manager=cargo&previous-version=0.2.6&new-version=0.2.7)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
2018-11-27 18:53:47 +00:00