Commit Graph

120 Commits

Author SHA1 Message Date
Alex Crichton b01a0fbe5f Merge pull request #428 from alexcrichton/fixes
Add SO_REUSEPORT to mips64
2016-10-14 21:33:25 -07:00
Alex Crichton dcf47d21ba Add a number of constants to mips64 2016-10-14 16:36:40 -07:00
Alex Crichton ff9366548b Go back to stable for rustdoc 2016-10-14 14:54:50 -07:00
Alex Crichton 8a9d8c2c98 Fix the build on s390x 2016-10-10 23:23:08 -07:00
Jorge Aparicio 3df0057247 add CI for mips-musl
and fix the statvfs struct for this target
2016-09-11 23:57:37 -05:00
Alex Crichton ed32e3fc8e Add CI for mipsel-unknown-linux-musl
Download a trunk OpenWRT toolchain and verify bindings against that. Also fixup
a few stray errors today
2016-08-28 11:53:38 -07:00
Alex Crichton a6b1c2d296 Fix and add testing for powerpc64 2016-08-26 23:11:45 -07:00
Alex Crichton 64595efb18 Use https for webhooks 2016-08-26 23:04:58 -07:00
Alex Crichton 8018a50514 Get powerpc-unknown-linux-gnu working and tested 2016-08-26 22:59:19 -07:00
Alex Crichton a097ff6d35 Add ci for i686-unknown-linux-musl 2016-08-26 19:49:16 -07:00
Alex Crichton 3eb4a48b1b Use docker for all CI tests and images
Previously we were somewhat half-Docker, half-Travis, half apt-get, etc. This
commit alters the CI infrastructure to use Docker images for each target. This
should make it much easier to update the images and tweak various bits and
pieces of installed software. Additionally, it's also much clearer now what's
needed for each suite of tests!

Some images were updated a bit (e.g. musl is now 1.1.14), but other images
encountered failures when updating so they're not getting updated just yet.
2016-06-15 03:33:30 -07:00
Axel Viala 26ee782523 Add Directory file descriptor relative syscall.
I only added "*at" syscall relative to Posix2008 specification.

At the moment OSX and Android are partially supporting this API.

This include:
* `openat`
* `faccessat`
* `fchmodat`
* `fchownat`
* `fstatat`
* `linkat`
* `mkdirat`
* `mknodat` [0]
* `readlinkat`
* `renameat`
* `symlinkat`
* `unlinkat`
* `mkfifoat` [0][1]

[1] Not available on Android at the moment:
* `mkfifo`

[1] Not available on OSX at the moment:
* `mkfifoat`
* `mknodat`

And exclude operating system specific API:
* `renameat2`: Linux specific
* `execveat`: Linux specific since 3.19
* `futimesat`: GNU extension
* `name_to_handle_at`: GNU extension
* `scandirat`: GNU extension
* `fanotify_mark`: belong to fanotify API.
2016-06-10 02:33:32 +02:00
Alex Crichton dfd196efe6 Use '&&' on travis, not ';' 2016-04-11 13:28:21 -07:00
Alex Crichton 81ba7f05a8 Run CI on all branches
Only running them against auto-libc unfortunately means that PRs don't run CI.
2016-03-11 09:35:56 -08:00
Alex Crichton 2ff0e52d53 Add webhooks to travis 2016-03-10 17:26:44 -08:00
Alex Crichton 518e09f8b7 Merge branch 'style' of https://github.com/alexcrichton/libc into merge
Conflicts:
	src/unix/notbsd/linux/musl/b32/arm.rs
	src/unix/notbsd/linux/musl/b32/asmjs.rs
	src/unix/notbsd/linux/musl/b32/x86.rs
	src/unix/notbsd/linux/musl/b64/mod.rs
	src/unix/notbsd/linux/other/b32/x86.rs
	src/unix/notbsd/linux/other/b64/aarch64.rs
	src/unix/notbsd/linux/other/b64/powerpc64.rs
	src/unix/notbsd/linux/other/b64/x86_64.rs
2016-03-06 11:22:42 -08:00
Alex Crichton c02a5c237a Use nightlies for iOS and rumprun
iOS was fixed awhile back and we should have rumprun nightlies now, so let's use
them!
2016-03-03 13:40:09 -08:00
Alex Crichton 8a8bc668d0 Add a style checking script to CI
It's tough to have PRs bounce or to have a back and forth with contributors
about minor style quibbles. Sometimes it ends up just being easier to fix style
after the fact, but let's add some automation to help this!

This commit adds a script to run on CI and locally to verify the style of this
repository. There's a few stylistic guidelines to ensure that definitions are
understandable across the jungle of modules. This consistency should help assist
readability for any future readers!
2016-03-01 22:03:34 -08:00
Alex Crichton 28a493a8cf Move iOS back to a known good date 2016-02-18 13:53:46 -08:00
Alex Crichton 6d46b6fa5f Add a default-on "use_std" feature
This adds a `use_std` Cargo feature which disables `#![no_std]` builds of libc,
but is enabled by default. The library will currently continue to link to the
standard library to maintain backwards compatibility with the 0.2 series and
older Rust compilers for now, but this default can possible be changed in the
future.
2016-02-10 17:21:21 -08:00
Alex Crichton 36ae2359b3 Use iOS nightlies instead of a pinned version 2016-02-04 15:35:58 -08:00
Alex Crichton d820c4a8f7 Add OpenBSD and FreeBSD CI to Travis
This commit adds support to test all libc definitions on both OpenBSD and
FreeBSD via QEMU userspace emulation. Specially prepared images for each OS are
used which are essentially intended to run a script on startup and then exit.
Documentation has been added to the `ci/README.md` file describing this new
system.
2016-01-18 22:54:28 -08:00
Alex Crichton a5d830a8a0 Move docker container and don't re-symlink mips compilers 2016-01-10 14:36:27 -08:00
Alexander Polakov 2cdb21ea2b Use docker for MIPS 2015-12-27 12:22:59 +03:00
Alex Crichton 881ef9b966 Update the android CI image
It's got a new toolchain which should hopefully support some more modern
definitions.
2015-12-18 13:15:09 -08:00
Alex Crichton 49d7bca8aa Add rumprun CI and get tests passing 2015-12-01 17:16:43 -08:00
Alex Crichton 68a5c445b0 Link to librt on non-apple platforms 2015-11-20 10:52:59 -08:00
Alex Crichton 094b0d4e85 Only run libc-test on nightly
Otherwise just make sure the library builds on other Rust versions
2015-11-03 14:22:29 -08:00
Alex Crichton 4e43d81925 Re-encrypt upload token 2015-10-29 17:50:09 -07:00
Alex Crichton 657eeec3b6 Run more extra targets on nightly 2015-10-29 11:08:34 -07:00
Alex Crichton baef6116da iOS support 2015-09-21 14:37:14 -07:00
Alex Crichton 9cb1634164 Move to master branch 2015-09-21 13:37:36 -07:00
Alex Crichton d86471cb4a Only install gcc-multilib when necessary 2015-09-17 17:46:58 -07:00
Alex Crichton 684cfa4691 Add aarch64 support/CI 2015-09-17 15:19:58 -07:00
Alex Crichton 242d3d33e2 Only test autotest for now 2015-09-17 11:57:15 -07:00
Alex Crichton 0de482ca8a Ok... another key? 2015-09-17 08:06:16 -07:00
Alex Crichton 12240ada58 Go back to a real travis yml 2015-09-17 01:03:43 -07:00
Alex Crichton 9eca4685de Another? 2015-09-17 01:00:41 -07:00
Alex Crichton 3fffd1049e Try another config 2015-09-17 00:46:53 -07:00
Alex Crichton 356d1f3d5a Temp disable travis 2015-09-16 23:59:33 -07:00
Alex Crichton 41afa80f05 Add upload tokens 2015-09-16 23:56:01 -07:00
Alex Crichton 24abc4fb80 Attempt to build docs on Travis 2015-09-16 23:54:56 -07:00
Alex Crichton 944a733426 Run MIPS on CI 2015-09-14 11:27:10 -07:00
Alex Crichton 841962104e Revert "Tweak ordering"
This reverts commit 89bfb308de.
2015-09-14 00:11:58 -07:00
Alex Crichton 89bfb308de Tweak ordering 2015-09-13 23:53:59 -07:00
Alex Crichton 23ab70b3cb Add CI for ARM linux 2015-09-13 23:38:27 -07:00
Alex Crichton 40710378e2 Correct android rust nightly version 2015-09-13 11:23:17 -07:00
Alex Crichton acda013560 Add MUSL to CI 2015-09-13 11:22:26 -07:00
Alex Crichton a3c854d921 Never notify on success for travis 2015-09-12 22:03:11 -07:00
Alex Crichton cf3b010fd4 Install gcc-multilib on linux 2015-09-12 17:26:07 -07:00
Alex Crichton 16ceef2f74 Use nightly, not stable 2015-09-12 17:25:04 -07:00
Alex Crichton 985744fc79 Run everything! 2015-09-12 17:02:38 -07:00
Alex Crichton 6ce2bae091 Fix TARGET spec on android 2015-09-12 16:41:02 -07:00
Alex Crichton ea4db3c449 Get android rust download working 2015-09-12 16:38:21 -07:00
Alex Crichton b7de09c367 Temporarily only test docker 2015-09-12 16:37:45 -07:00
Alex Crichton 83a30491ce Aight, let's try running everything on travis 2015-09-12 16:15:48 -07:00
Alex Crichton 95c90fa47e Let's try running android 2015-09-11 17:37:30 -07:00
Alex Crichton f81e3d3672 Compat back to 1.0.0 2015-09-11 15:27:20 -07:00
Alex Crichton dc376401f6 Can we masquerade to get trusty tahr? 2015-09-10 22:59:15 -07:00
Alex Crichton a5086b11a0 Done probing 2015-09-10 17:16:10 -07:00
Alex Crichton 126e50636c Attempt to find header files 2015-09-10 17:03:40 -07:00
Alex Crichton fc32c6d1f0 Keep installing gcc-multilib 2015-09-10 13:58:57 -07:00
Alex Crichton ec5538c968 OK, just use clang 2015-09-10 13:01:15 -07:00
Alex Crichton f8b1b3d37b Try using a newer gcc on travis 2015-09-10 11:23:17 -07:00
Alex Crichton f0129905d4 Nope, let's try 1.2.0 2015-09-10 10:59:37 -07:00
Alex Crichton 429c2de620 Build on stable Rust 2015-09-10 10:57:31 -07:00
Alex Crichton 984477bed4 Add back in env for travis 2015-09-09 23:49:09 -07:00
Alex Crichton 6036c18009 Run travis everywhere! 2015-09-09 23:48:14 -07:00
Alex Crichton 6b7d323bd8 Don't run tests on travis (there are none to run) 2015-03-12 14:16:52 -07:00
Alex Crichton 68fe98bde2 Initial commit 2015-01-13 08:22:00 -08:00