Commit Graph

1010 Commits

Author SHA1 Message Date
Alex Crichton 8726270a8e Merge pull request #456 from alexcrichton/cache-things
Share the host's `target` directory for tests
2016-11-18 09:00:09 -06:00
Alex Crichton d4ff20386b Merge pull request #455 from alexcrichton/dox
Move docs back to nightly
2016-11-18 08:59:59 -06:00
Alex Crichton c2842463e5 Share the host's `target` directory for tests
This helps caching between runs and can help speed up turnaround time for
various operations. The old android container didn't work out for some reason
due to permissions so the definition has now been vendored locally to just
rebuild it each time.
2016-11-17 11:30:17 -08:00
Alex Crichton 18d5d43f65 Move docs back to nightly 2016-11-17 09:48:12 -08:00
Alex Crichton 046ff8cd8a Merge pull request #451 from asomers/fbsd11
Remove constants no longer present in FreeBSD 11
2016-11-16 22:26:49 -06:00
Alan Somers 9860c2935a Fix tests on FreeBSD 11
FreeBSD svn r262489 removed some *_MAXID definitions in sys/sysctl.h.  They never
should've been used outside of the FreeBSD base system anyway.  Mark them as
deprecated, hide them from the API docs, and disable their tests.

r273250 removed MAP_RENAME and MAP_NORESERVE, flags used by mmap(2), but old
binaries that use them will still work.  Suppress their test errors.

r294930 changed stack_t.ss_sp from a char* to a void*.  Suppress its test error.
2016-11-15 20:54:43 -07:00
Alex Crichton a3baaf6a95 Merge pull request #453 from xen0n/big-mips-shuffle
MIPS: Layout refactor
2016-11-14 10:25:19 -06:00
Wang Xuerui 6b729908de
MIPS: Layout refactor
MIPS32 and MIPS64 userspaces are mostly the same save the obvious ABI
difference, hence most of the const definitions could be shared.

This commit is not introducing any new significant additions, but mostly
just shuffles the existing files around to make the directory structure
more similar to the other, more mature platforms. The structs and extern
fn definitions are not touched. Plus a couple of new consts for MIPS64
to match MIPS32 coverage:

* `RLIM_INFINITY`
* `SYS_gettid`

Passed `libc-test` on Gentoo MIPS64el (n64 ABI), on a Loongson 3A2000
box. The test suite itself needs some more love to actually compile
cleanly on MIPS (`ctest` transitively depends on ancient `libc` version
which doesn't build on MIPS), but let's save that for another day.
2016-11-15 00:25:24 +08:00
Alex Crichton 454b32511f Merge pull request #449 from asomers/aio
POSIX AIO definitions, for BSD and Linux
2016-11-14 10:10:14 -06:00
Alan Somers a46123cf90 Fix more CI errors in PR #449
musl has a different aiocb definition; netbsd and OSX have some symbol renaming, and
lwpid_t is signed on freebsd
2016-11-13 18:04:47 -07:00
Alan Somers 804763c4e5 Fix errors, mostly style, in PR #449 2016-11-13 15:03:14 -07:00
Alan Somers e0ff0d6185 Fix more CI errors in PR #449 2016-11-13 14:35:17 -07:00
Alan Somers 9245e0727b Fix various CI errors in PR #449 2016-11-13 13:52:34 -07:00
Alan Somers 4ec884ac6d Fix undefined symbol errors in CI 2016-11-13 08:07:45 -07:00
Alan Somers 22c13e14a0 POSIX AIO definitions, for BSD and Linux
Where structures included unions, I only defined the most useful member.  This
means that sigevents can't be delivered using SIGEV_THREAD until Rust gets better
union support (SIGEV_THREAD_ID still works).
2016-11-12 22:33:35 -07:00
Alex Crichton 2a8a64e59e Merge pull request #448 from Stebalien/enotsup
Add ENOTSUP constant to more platforms.
2016-11-12 12:51:26 -06:00
Steven Allen 8c3e6ba74b Add ENOTSUP constant to more platforms. 2016-11-11 11:00:16 -08:00
Alex Crichton 6e8c1b490c Merge pull request #446 from alexcrichton/link-cfg
Use `#[link(cfg(..))]` in preparation for libstd
2016-11-09 20:32:02 -07:00
Alex Crichton f9323d1a0a Use `#[link(cfg(..))]` in preparation for libstd
In preparation for rust-lang/rust#37545 this is adding the appropriate
directives to libc to get included.
2016-11-09 18:45:00 -08:00
Alex Crichton 9195462a49 Merge pull request #439 from redox-os/redox
Minimal liblibc for Redox
2016-11-09 08:55:27 -07:00
Jeremy Soller dcbe96b18f Use target_os instead of cfg(redox) 2016-11-08 14:05:56 -07:00
Alex Crichton 89ddad83ff Merge pull request #444 from semarie/pledge
add pledge(2) syscall.
2016-11-08 08:13:56 -07:00
Sébastien Marie 4d615e771b respect style and break line. 2016-11-08 08:14:39 +01:00
Alex Crichton b3676593f6 Merge pull request #445 from xen0n/remove-bogus-mipsel-arches
Remove mipsel target_arches
2016-11-06 20:23:50 -08:00
Wang Xuerui 0caba71691 Remove mipsel target_arches
The `mipsel` `target_arch` was introduced with the initial MIPSel
support (rust-lang/rust@82ec1aef29),
but was subsequently removed with implementation of the Flexible Target
Specification (Rust RFC 0131,
rust-lang/rust@3a8f4ec32a).
Remove these to be consistent with other arches and reduce confusion.

I've very slightly formatted the deletions so as to not require a style
cleanup later and obscure `git blame` output.
2016-11-07 11:27:09 +08:00
Sébastien Marie 9996462342 add pledge(2) syscall. 2016-11-06 20:07:19 +01:00
Alex Crichton d081938bf2 Merge pull request #442 from alexcrichton/other-location
Update CI download location
2016-11-06 08:29:48 -08:00
Alex Crichton 852db737b3 Merge pull request #441 from billiob/setfsuid
Add setfsgid()/setfsuid() on linux
2016-11-06 00:37:48 -07:00
Alex Crichton bdaf9d51dd Merge pull request #440 from billiob/typo
Fix typo in comment
2016-11-06 00:37:43 -07:00
Alex Crichton cffe1f245d Update CI download location 2016-11-06 00:31:02 -07:00
Boris Faure 28d0afa657 Add setfsgid()/setfsuid() on linux 2016-11-05 21:19:53 +01:00
Boris Faure da445b99f2 Fix typo in comment 2016-11-05 20:16:50 +01:00
Jeremy Soller fe0eb1175d Place structs inside of s! 2016-11-03 17:28:56 -06:00
Jeremy Soller 4ddaf1f4c1 Minimal liblibc for Redox 2016-11-03 16:53:22 -06:00
Alex Crichton 15950baa0a Merge pull request #438 from alexcrichton/less-dox
Generate docs on 1.10.0
2016-10-28 23:22:22 -04:00
Alex Crichton 0df7e408ef Generate docs on 1.10.0
Should help us keep the size explosion under control.
2016-10-28 06:57:03 -07:00
Alex Crichton b347e64ab1 Merge pull request #437 from zethra/master
Added tcsetpgrp
2016-10-28 09:43:35 -04:00
zethra c21a30c787 Added tcsetpgrp 2016-10-27 16:01:18 -04:00
Alex Crichton 7d9b71f097 Merge pull request #435 from raphlinus/aarch64
Enable musl with aarch64
2016-10-24 16:40:47 -07:00
Raph Levien d6c3de8c52 Enable musl with aarch64 2016-10-24 11:47:59 -07:00
Alex Crichton a8e4698c9d Merge pull request #434 from dgreid/setresuid
Add setresuid/setresgid for linux
2016-10-22 16:17:50 -07:00
Dylan Reid 519ffa076c Add setresuid/setresgid for linux
Signed-off-by: Dylan Reid <dgreid@chromium.org>
2016-10-21 16:36:30 -07:00
Alex Crichton c95defce07 Merge pull request #432 from raphlinus/fuchsia
Add support for Fuchsia
2016-10-21 08:58:40 -07:00
Alex Crichton 80e83e6275 Merge pull request #433 from alexcrichton/update
Try to fix powerpc64 and update to crates.io ctest
2016-10-21 08:58:18 -07:00
Raph Levien 8c06e14b68 Revert "Simplify configuration of ai_addr"
This reverts commit 7ac91c6d01.
2016-10-20 18:22:43 -07:00
Alex Crichton 78070bdf28 Try to fix powerpc64 and update to crates.io ctest 2016-10-20 17:23:23 -07:00
Raph Levien 7ac91c6d01 Simplify configuration of ai_addr
Merge two separate config blocks for conditionally including ai_addr
in the addrinfo struct for unix/notbsd.
2016-10-20 15:28:06 -07:00
Raph Levien 6d24c4be08 Remove unwind from link libs
The reference to the unwind lib belongs in libstd, not here. Also fix
lint error.
2016-10-20 10:04:26 -07:00
Raph Levien 517e86dfe6 Add support for Fuchsia
These patches add support for the Fuchsia operating system. For the
time being, it shares a lot of infrastructure with the Linux target,
because of the use of a musl-based libc.
2016-10-20 08:37:55 -07:00
Alex Crichton 4260022409 Merge pull request #431 from frozencemetery/pty
Add UNIX 98 pty functions
2016-10-18 23:08:48 -07:00