Commit Graph

1649 Commits

Author SHA1 Message Date
bors
d64716407e Auto merge of #742 - alexcrichton:wasm, r=alexcrichton
Add asmjs/wasm32 to CI

Rebase of #610 and also move emscripten up much higher in the hierarchy to
ensure that it doesn't have too much of a ripple effect on other platforms.

This involved moving down a good number of definitions, but hopefully was done
with care to not break anything!
2017-08-27 17:00:24 +00:00
bors
edb7c11c70 Auto merge of #743 - Susurrus:syscalls, r=alexcrichton
Add syscall constants to more Android/Linux targets

Primarily adding `SYS_memfd_create` and `SYS_pivot_root` for `nix`. But I also equalized a few constants across platforms so some of the other ones that were defined on some targets are now defined across all linux/android targets.
2017-08-27 16:28:38 +00:00
Alex Crichton
305cec31fb Fix musl build 2017-08-27 09:28:17 -07:00
Alex Crichton
5822645eb8 Update emscripten to latest 2017-08-27 08:37:15 -07:00
Alex Crichton
4c90a7350e Add emscripten/wasm to dox builds 2017-08-27 08:36:18 -07:00
Alex Crichton
1ee80568ef Fix style 2017-08-27 08:33:58 -07:00
Alex Crichton
a4ce3a8755 Merge branch 'wasm-rebase' into wasm 2017-08-27 08:32:54 -07:00
Bryant Mairs
deb30e5b39 Add syscall constants to more Android/Linux targets 2017-08-27 01:12:39 -07:00
Alex Crichton
22b98dedfe Add asmjs/wasm32 to CI
Rebase of #610 and also move emscripten up much higher in the hierarchy to
ensure that it doesn't have too much of a ripple effect on other platforms.

This involved moving down a good number of definitions, but hopefully was done
with care to not break anything!
2017-08-26 22:15:29 -07:00
bors
2f4ca8788b Auto merge of #741 - kallisti5:haiku-sigfix, r=alexcrichton
haiku: Add missing signals

* Now a complete signal list on Haiku minus reserved.
* Fixes build failure due to missing SIGUSR1
2017-08-26 01:57:41 +00:00
Alexander von Gluck IV
177d5e6fba haiku: Add missing signals
* Now a complete signal list on Haiku minus reserved.
* Fixes build failure due to missing SIGUSR1
2017-08-25 20:28:03 -05:00
bors
e7ce47a6bb Auto merge of #740 - alexcrichton:more64, r=alexcrichton
Add {,f}stat{,v}fs64 API bindings

Closes https://github.com/rust-lang/libc/issues/738
2017-08-26 01:26:56 +00:00
Alex Crichton
a36da11fb9 Add {,f}stat{,v}fs64 API bindings 2017-08-25 18:26:38 -07:00
bors
33873fa92b Auto merge of #739 - kallisti5:haiku-fix, r=alexcrichton
haiku: Correct typo
2017-08-25 21:30:09 +00:00
Alexander von Gluck IV
c9b276f1ce haiku: Correct typo 2017-08-25 16:13:01 -05:00
bors
2a322c716c Auto merge of #720 - Susurrus:fcntl, r=alexcrichton
Add more fcntl and seal constants for Android/Linux
2017-08-25 00:33:20 +00:00
bors
f4bbd7ffae Auto merge of #737 - Susurrus:android_fcntl, r=alexcrichton
Add more fcntl constants for android
2017-08-23 00:04:23 +00:00
Bryant Mairs
e397134e35 Add more fcntl constants for android 2017-08-22 08:32:11 -07:00
Alex Crichton
b7902df689 Add ios flags to ios invocations 2017-08-22 07:02:32 -07:00
Alex Crichton
d424022005 Update Android images/runners 2017-08-21 22:52:06 -07:00
Alex Crichton
bcbfa85651 Leverage Cargo's target runner support to execute tests 2017-08-21 21:41:37 -07:00
Alex Crichton
ce276177f2 Remove warnings in libc-test 2017-08-21 21:41:26 -07:00
Alex Crichton
476b9821dc Update lock file 2017-08-21 21:41:26 -07:00
Bryant Mairs
2f06a79e23 Run CI tests using cargo
This works by specifying a "runner" for actually executing the binary.
This doesn't apply to the Android or NetBSD runs because there
isn't a simple binary that just runs the executable.
2017-08-21 21:10:28 -07:00
Bryant Mairs
362134d8d6 Simplify iOS builds by using Cargo's RUSTFLAGS support 2017-08-21 10:46:26 -07:00
Bryant Mairs
2e11d9e14c Add more fcntl and seal constants for Android/Linux
We now create an additional binary `linux_fcntl` for testing this
since there are header conflicts when including all necessary headers.
This binary is run on all platforms even though it's empty on all non-
Android/non-Linux platforms.

Testing has been switched from a custom binary to using a runner-less
test (or pair of tests). This means that for local development a simple
`cd libc-test && cargo test` will run all the tests. CI has also been
updated here to reflect that.
2017-08-20 20:52:43 -07:00
bors
13478d0929 Auto merge of #729 - Susurrus:ptrace_request, r=alexcrichton
Fix spelling of ptrace's request argument

Couldn't handle seeing this anymore after working on a ptrace API for `nix`!
2017-08-20 12:34:08 +00:00
bors
60e5745a51 Auto merge of #734 - humenda:l4re-improvements, r=alexcrichton
L4Re improvements

This commit improves the x86_64 uClibc port and splits of L4Re-specific structs into a separate submodule. It defines additional constants and fixes some unfinished structs.
2017-08-19 01:40:42 +00:00
bors
fc28288541 Auto merge of #735 - alexcrichton:remove-openbsd, r=alexcrichton
Remove OpenBSD CI

It's now broken due to changes in the `gcc` crate and having a too-old compiler,
and in general it's unfortunately architecturally so different from the other
test frameworks that it's difficult to maintain over time.
2017-08-18 17:37:57 +00:00
Alex Crichton
201d539465 Remove OpenBSD CI
It's now broken due to changes in the `gcc` crate and having a too-old compiler,
and in general it's unfortunately architecturally so different from the other
test frameworks that it's difficult to maintain over time.
2017-08-18 09:34:08 -07:00
Sebastian Humenda
cc5883410e Make more clear why no libraries are linked to L4Re 2017-08-18 11:57:48 +02:00
Sebastian Humenda
dc0a182669 adjust value for minimal thread stack size 2017-08-17 12:58:46 +02:00
Sebastian Humenda
3a1c83cf3c Remove superflouos doc comments 2017-08-17 09:20:03 +02:00
Sebastian Humenda
9b4edb0b83 Merge branch 'master' into test 2017-08-17 09:13:45 +02:00
bors
7fd1f9d39b Auto merge of #733 - Susurrus:fexecve, r=alexcrichton
Remove fexecvpe from Haiku and MacOS/IOS where it's not implemented

I was going to remove the skip-check from `build.rs` to see if we might be able to enable the function check on at least some platforms, but I'll assume it doesn't work on any as has been suggested.

Closes #732.
2017-08-17 06:19:24 +00:00
Bryant Mairs
e41975a2b2 Remove fexecve() from Haiku and MacOS/iOS.
It's not supported on those platforms
2017-08-16 23:18:37 -07:00
Sebastian Humenda
ba6690b4ec Merge ../libc 2017-08-16 16:42:26 +02:00
Sebastian Humenda
abfd80c50c Improve x86_64/uclibc stat/signal struct definitions
*   correct sigaction
*   correct stat, alias stat64
*   remove doubled statvfs definition
2017-08-16 16:41:06 +02:00
Jose Narvaez
a6a2a5ee88 Changed Redox 'mode_t' constants to Hexadecimal. 2017-08-16 16:41:06 +02:00
Jose Narvaez
203f705e89 Add some permission and misc (mostly 'mode_t' related) constants to Redox. 2017-08-16 16:41:06 +02:00
Bryant Mairs
800dbfde95 Fix spelling of ptrace's request argument 2017-08-13 08:39:49 -07:00
bors
24155b1890 Auto merge of #728 - semarie:openbsd-kqueue, r=alexcrichton
Openbsd kqueue

The PR supersede #613 to add exception on the testsuite.
2017-08-13 14:39:19 +00:00
Sébastien Marie
7e349c0be6 Add exception in testsuite: the constants are new
they will be released with OpenBSD 6.2
2017-08-13 13:54:04 +02:00
Jan S
c51e91b9b4 OpenBSD kqueue EV_RECEIPT and EV_DISPATCH
OpenBSDs kqueue now has EV_RECEIPT and EV_DISPATCH.

I wrote a patch and the devs merged it into current:
https://marc.info/?l=openbsd-tech&m=149621427511219&w=2

This change extends the rust libc crate to provide the feature.
2017-08-13 13:52:29 +02:00
bors
d6317b6a97 Auto merge of #727 - semarie:openbsd-si_addr, r=alexcrichton
skip siginfo_t.si_addr type check on OpenBSD

the type changed from *c_char to *c_void in 6.1
2017-08-13 11:05:07 +00:00
Sébastien Marie
56701a7f70 skip siginfo_t.si_addr type check on OpenBSD
the type changed from *c_char to *c_void in 6.1
2017-08-13 12:29:45 +02:00
bors
aa2b54f858 Auto merge of #726 - JayH5:init-get-groups, r=alexcrichton
Add getgrouplist(), add initgroups() to BSD platforms
2017-08-12 22:01:16 +00:00
Jamie Hewland
d5326a10d4 Add getgrouplist() 2017-08-12 22:17:15 +02:00
Jamie Hewland
2d22c18acf Add initgroups to BSD targets 2017-08-12 21:46:31 +02:00
bors
09d920989c Auto merge of #725 - Susurrus:mman_constants, r=alexcrichton
Add MAP_ANONYMOUS to DragonFlyBSD and FreeBSD
2017-08-11 15:30:27 +00:00