Commit Graph

3190 Commits

Author SHA1 Message Date
gnzlbg b988e27498 Refactor linux x86_64 module 2019-06-05 11:35:00 +02:00
gnzlbg 60571f9143 Remove duplicated constants from x86_64 2019-06-05 11:32:56 +02:00
gnzlbg d36963a0b8 Remove duplicated constants from s390x 2019-06-05 11:30:10 +02:00
gnzlbg 35ff8c2dbe Remove duplicated constnats from mips32 2019-06-05 10:28:11 +02:00
Stefano Garzarella 0546d427b4 linux: add VSOCK struct and constants
Add struct sockaddr_vm and VMADDR_ constants to use
VSOCK on Linux. VSOCK is present since Linux 3.9

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2019-06-05 10:12:58 +02:00
gnzlbg 4c3bc0dd62 Fix duplicated constants in x32 and not_x32 modules 2019-06-05 08:41:21 +02:00
Torbjørn Birch Moltu bbcfd3cce2 Add posix message queue types and functions for solarish 2019-06-04 19:26:46 +02:00
Torbjørn Birch Moltu 25846bccc1 Add mq_timedsend() and mq_timedreceive() for Linux 2019-06-04 19:26:45 +02:00
gnzlbg bf92b760cf Remove duplicated flock type in s390x 2019-06-04 18:35:07 +02:00
gnzlbg 4bd419ebec Move the mips module into the gnu module 2019-06-04 18:17:19 +02:00
gnzlbg 65f23e6aca Move s390x into the gnu module 2019-06-04 16:23:47 +02:00
bors ce7e3a7e86 Auto merge of #1389 - gnzlbg:ref_linux2, r=gnzlbg
Rename the notbsd module to linux_like
2019-06-04 11:36:18 +00:00
gnzlbg 8f098a3e3a Rename the notbsd module to linux_like 2019-06-03 21:46:43 +02:00
red75prime a85e001b93 Fix libstd compilation for arm-uclibc target 2019-06-02 20:36:20 +05:00
bors 0e25493877 Auto merge of #1384 - gnzlbg:upgrade_rlimit_consts, r=gnzlbg
Upgrade rlimit consts

cc @aidanhs - this should fix the error you are seeing.
2019-06-02 09:14:49 +00:00
gnzlbg 5f7600c137 Bump patch version to 0.2.58 2019-06-02 10:32:35 +02:00
gnzlbg d4cdc7c776 Upgrade target-dependent RLIMIT_ consts 2019-06-02 10:32:35 +02:00
gnzlbg cdc48ea36d
Merge pull request #1382 from gnzlbg/rlimit_consts
Fix type of RLIMIT consts on linux gnu
2019-05-31 16:43:54 +02:00
gnzlbg e07cd949b0 Bump patch version to 0.2.57 2019-05-31 15:22:58 +02:00
gnzlbg f75483adf8 Fix type of RLIMIT constants or gnu linux targets 2019-05-31 14:35:46 +02:00
bors 0e39a5432f Auto merge of #1380 - gnzlbg:missing_tiors485, r=gnzlbg
Add missing TIOCGRS485, TIOCSRS485 constants to Linux

Closes #1094 .
2019-05-29 19:52:27 +00:00
bors 0e702c1b4e Auto merge of #1379 - gnzlbg:deprecate_fixed_width_ints, r=gnzlbg
Deprecate fixed width integer type aliases

cc @emilio - I think it makes sense to ensure that the latest released version of bindgen works properly with this change. That is, that even when asked to use C types from, e.g., `libc::`, it does not use aliases for the fixed-width integer C types (e.g. `libc::int64_t`) but uses Rust primitive types instead (e.g. `u64`).

Closes #1304 .
2019-05-29 18:13:57 +00:00
bors e66b2a8758 Auto merge of #1378 - gnzlbg:statx, r=gnzlbg
Add statx on Linux

Closes #1178.
2019-05-29 15:56:14 +00:00
gnzlbg bf1ab2b6a1 CI sparc64 glibc version does not have statx 2019-05-29 14:57:56 +02:00
gnzlbg 3c903c8d3c
Merge pull request #1375 from gnzlbg/deprecate_af_max
Deprecate AF_MAX and PF_MAX
2019-05-29 13:43:44 +02:00
gnzlbg 706b101cf8 Add missing TIOCGRS485, TIOCSRS485 constants to Linux
Closes #1094 .
2019-05-29 13:41:14 +02:00
gnzlbg c5b72e3747 Use Rust types instead of fixed-width integer type aliases 2019-05-29 13:32:22 +02:00
gnzlbg afa3edf86c Deprecates fixed-width integer type aliases
Closes #1304 .
2019-05-29 13:20:16 +02:00
gnzlbg a0865265d4 Replace uses of fixed-width integer aliases with Rust types 2019-05-29 13:17:17 +02:00
gnzlbg 08a4519714 Refactor fixed-width integer types into its own module 2019-05-29 13:05:49 +02:00
gnzlbg ed8b4cbbf6 Add statx on Linux
Closes #1178.
2019-05-29 12:55:37 +02:00
gnzlbg a74b588ad2 Deprecate AF_MAX and PF_MAX 2019-05-29 12:24:47 +02:00
bors b6ab2f056c Auto merge of #1374 - gnzlbg:cleanup_asmjs, r=gnzlbg
Cleanup asmjs
2019-05-28 23:07:30 +00:00
bors 08d448869e Auto merge of #629 - Susurrus:tcflag_t, r=gnzlbg
Correct datatype for various termios constants

This was a part of #625, but I moved it to a separate PR as it's a breaking change and those are currently blocked for Tier 1 platforms.
2019-05-28 20:28:33 +00:00
bors c9fbd00633 Auto merge of #1372 - tklauser:f-seal-future-write, r=gnzlbg
Add F_SEAL_FUTURE_WRITE on Linux/Android

This was added in Linux 5.1 and will only show up in the next glibc
release, thus skip in tests.
2019-05-28 17:18:53 +00:00
gnzlbg 558d892c43 Bump libc version to 0.2.56 2019-05-28 18:19:35 +02:00
gnzlbg 504e10ec45 Re-enable asmjs on CI 2019-05-28 18:19:35 +02:00
Tobias Klauser 73643694b3 Add F_SEAL_FUTURE_WRITE on Linux/Android
This was added in Linux 5.1 and will only show up in the next glibc
release, thus skip in tests.
2019-05-28 16:33:01 +02:00
bors 927ccfd4b0 Auto merge of #1373 - gnzlbg:cleanup_emscripten, r=gnzlbg
Re-enable emscripten on CI and cleanup its libc-test
2019-05-28 14:22:06 +00:00
gnzlbg 0af34e1276 Re-enable wasm32-unknown-emscripten on CI 2019-05-28 16:21:18 +02:00
gnzlbg 484f39e1ba Document SIGUNUSED deprecation on Android 2019-05-28 16:21:18 +02:00
gnzlbg 8e26ab4964 Minor nitpicks 2019-05-28 16:21:18 +02:00
gnzlbg cf0bd36e78 Update values of some emscripten constants 2019-05-28 16:21:18 +02:00
gnzlbg fdd66318ff [breaking change] remove constants that are unavailable in emscripten 2019-05-28 16:21:18 +02:00
gnzlbg 0bc18a5dc9 [breaking change] sendmmsg/recvmmsg have incorrect signature c_int vs c_uint on emscripten 2019-05-28 16:01:26 +02:00
gnzlbg 05caeabe91 [breaking change] sockaddr_nl is not available on emscripten 2019-05-28 16:01:26 +02:00
gnzlbg 5ede8aab94 Enable disabled tests 2019-05-28 16:01:26 +02:00
gnzlbg 516f3efcc9 update emscripten 2019-05-28 16:01:26 +02:00
bors 48193e89b6 Auto merge of #1365 - gnzlbg:cleanup_linux, r=gnzlbg
[breaking change] Cleanup linux and update MUSL

* Update MUSL kernel headers to 4.4.2 (non-breaking)
* [breaking] `MADV_SOFT_OFFLINE` is not defined on MIPS
* [breaking] `sendmmsg`/`recvmmsg` take an `unsigned int` flag on MUSL
* [breaking] `pthread_t` is a pointer on MUSL
* `rlimit` resources should use a type alias on GNU (non-breaking)
* Deprecate `SIGNUNUSED` (should use SIGSYS instead)
2019-05-28 12:45:23 +00:00
gnzlbg 1a3d1525da [breaking change] sendmmsg/recvmmsg flag argument is an unsigned integer on MUSL 2019-05-28 10:09:43 +02:00