Commit Graph

84 Commits

Author SHA1 Message Date
Dan Gohman e21be8cdcd Update wasmtime to the latest master. 2019-07-23 12:53:02 -07:00
gnzlbg 516f3efcc9 update emscripten 2019-05-28 16:01:26 +02:00
gnzlbg 1a3d1525da [breaking change] sendmmsg/recvmmsg flag argument is an unsigned integer on MUSL 2019-05-28 10:09:43 +02:00
gnzlbg 2543b7c8ed bump kernel headers to 4.4.2-2 2019-05-27 22:23:02 +02:00
gnzlbg 8f403e5ac2 Update MUSL Linux kernel headers and re-enable Linux tests 2019-05-27 22:23:02 +02:00
gnzlbg eb0794a5d8 Update Android SDK, NDK (r19c), and API versions (arm:24,x86:28)
* Update Android NDK to version r19c
* Update Android API versions to:
  * API 24 on arm and aarch64 targets
  * API 28 on x86 and x86_64 targets
* Unified headers were removed in NDK 16
* Refactor the NDK and SDK installation scripts
* OpenJDK version 8 must be kept: it appears that
  the Android tools do not work with more modern OpenJDK
  versions.
2019-05-23 16:18:43 +02:00
bors bf85aa6dfc Auto merge of #1340 - ibabushkin:mmap_flags, r=gnzlbg
Added MAP_FIXED_NOREPLACE and MAP_SHARED_VALIDATE consts.

This addresses #1339 and #1315. I believe the location of the constants is correct as-is, as both flags are linux-specific additions. Let me know if I missed anything.
2019-05-21 18:53:49 +00:00
Inokentiy Babushkin 6a97d64e02
Revert "An attempt to use upstream musl on mips."
This reverts commit 1a1b170a02.
2019-05-21 13:37:31 +02:00
Inokentiy Babushkin 3835253fc8
Revert "Fixed a typo in mips docker file."
This reverts commit 7b171fb15a.
2019-05-21 13:37:19 +02:00
Inokentiy Babushkin 7b171fb15a
Fixed a typo in mips docker file. 2019-05-20 16:55:08 +02:00
Inokentiy Babushkin 1a1b170a02
An attempt to use upstream musl on mips. 2019-05-19 16:53:59 +02:00
Inokentiy Babushkin 9f1db17852
Updated most musl versions in CI docker setup. 2019-05-19 14:12:33 +02:00
gnzlbg 3ac67ebcf7 Rename wasm32-unknown-wasi to wasm32-wasi 2019-05-16 11:03:04 +02:00
gnzlbg 9df115b67f Update Ubuntu images to 19.04 2019-05-16 09:15:12 +02:00
gnzlbg 4c938e5b4b Move sparc64 Docker image to Ubuntu 2019-05-16 09:15:12 +02:00
gnzlbg 9212a9cf14 Update openjdk to version 11 in Docker containers 2019-05-16 09:15:12 +02:00
gnzlbg 18bf94c6eb Update all remaining targets to Ubuntu 18.04 2019-05-14 12:00:45 +02:00
gnzlbg 89a3d03aa7 Update Android Docker images Ubuntu version 2019-05-14 10:06:45 +02:00
Dan Gohman 8a5b230c14 Update to the latest wasi-sysroot.
This contains several fixes, including the FD_ISSET signature change
that the previous patch in this PR needs.
2019-04-23 21:01:39 -07:00
Alex Crichton cc0310146e Add binding for new `__wasilibc_find_relpath` API
Added recently and will be used in libstd!
2019-04-08 07:56:47 -07:00
Alex Crichton 3f1e8b9c45 Enable the wasi target on CI
Now that wasi is in nightlies, we can run it on PRs!
2019-04-05 08:03:03 -07:00
Alex Crichton 8662b47b27 Address some PR feedback 2019-03-27 11:21:44 -07:00
Alex Crichton 87def1fb80 Add intiial support for wasm32-unknown-wasi
This target is [being proposed][LINK] int he rust-lang/rust repository
and this is intended to get coupled with that proposal. The definitions
here all match the upstream reference-sysroot definitions and the
functions all match the reference sysroot as well. The linkage here is
described more in detail on the Rust PR itself, but in general it's
similar to musl.

Automatic verification has been implemented in the same manner as other
targets, and it's been used locally to develop this PR and catch errors
in the bindings already written (also to help match the evolving sysroot
of wasi). The verification isn't hooked up to CI yet though because
there is no wasi target distributed via rustup just yet, but once that's
done I'll file a follow-up PR to execute verification on CI.

[LINK]:
2019-03-27 09:24:48 -07:00
Mateusz Mikuła 481a521178 Upgrade bunch of EOL docker images to Ubuntu 18.04 2019-03-03 18:43:25 +01:00
Alan Somers 38cf5b15c6 Add an integration test for the cmsg(3) functions.
Since these are defined in C as macros, they must be reimplemented in
libc as Rust functions.  They're hard to get exactly right, and they
vary from platform to platform.  The test builds custom C code that uses
the real macros, and compares its output to the Rust versions' output
for various inputs.

Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.

Issue #1239

Skip the entire cmsg test program on s390x because it dumps core
seemingly before the kernel finishes booting.

Issue #1240
2019-02-05 08:26:17 -07: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
Alan Somers e88e6b99de Move FreeBSD testing from Travis/QEMU to Cirrus-CI
Fixes #1163
2018-12-07 13:11:09 -07:00
Tom Parker-Shemilt b46b6e2e72 Retry all curl operations 2018-11-26 21:34:43 +00:00
Pascal Bach 23657074d9 provide linux/module.h in debian sparc64 build 2018-07-18 21:56:14 +02:00
Pascal Bach 1abcbda8c4 use new headers for musl build 2018-07-18 21:56:14 +02:00
Pascal Bach aa41265f3f Update musl ci jobs to 1.1.19 2018-07-17 22:15:19 +02:00
Wesley Moore c1fa4b68a8 Update FreeBSD docker CI to use FreeBSD 11.1 image 2018-03-16 08:23:01 +11:00
Alex Crichton ac4afe746f Switch to sparc64 to debian:stretch
Looks like ubuntu 17.04 is broken now and it fails to link on 17.10 and 18.04.
It seems to work on stretch though!
2018-01-18 11:24:40 -08:00
Alex Crichton 1f29ac3167 Move some containers to ubuntu 18.04
Apparently 17.04 is broken now?
2018-01-18 11:21:30 -08:00
Alex Crichton 6978440054 Fix wasm tests
Looks like `cargo test` is now trying to test too many files due to
rust-lang/cargo#4750 so add a clause to the wrapper to ignore the bogus ones for
now
2017-11-25 14:11:14 -08:00
Marco A L Barbosa 6fa3870e5b Run sparc64-unknown-linux-gnu tests on qemu system 2017-10-31 10:10:35 -02:00
Marco A L Barbosa cd2e87d575 Run s390x test in qemu system instead of qemu user 2017-10-31 09:44:54 -02:00
bors 10ac3df173 Auto merge of #824 - malbarbo:x32-1, r=alexcrichton
Fixes and test for x86_64-unknown-linux-gnux32

This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails).

Fixes https://github.com/rust-lang/libc/issues/816https://github.com/rust-lang/libc/issues/816
2017-10-28 04:03:07 +00:00
bors 25fb72e359 Auto merge of #823 - malbarbo:sparc64-test, r=alexcrichton
Add sparc64-unknown-linux-gnu to CI (with disabled tests)

Tests are disabled because qemu segfaults, see https://github.com/rust-lang/libc/issues/822

The builder is still useful to catch some errors.
2017-10-28 03:34:15 +00:00
bors c6abfc1f70 Auto merge of #821 - malbarbo:mips64el-test, r=alexcrichton
Add mips64el to CI
2017-10-28 03:04:32 +00:00
bors 84d72c659d Auto merge of #818 - malbarbo:powerpc64le-test, r=alexcrichton
Add powerpc64le to CI
2017-10-28 02:34:11 +00:00
Marco A L Barbosa a9115d5e4b Fix android ci 2017-10-27 16:46:32 -02:00
Marco A L Barbosa 0ee3935ed3 Add x86_64-unknown-linux-gnux32 docker image 2017-10-27 11:06:14 -02:00
Marco A L Barbosa 9a0d37f517 Add sparc64-unknown-linux-gnu to CI (with disabled tests) 2017-10-27 09:09:45 -02:00
Marco A L Barbosa 56b3403fa5 Add mips64el to CI 2017-10-27 08:21:40 -02:00
Marco A L Barbosa 31309536e9 Add powerpc64le to CI 2017-10-24 19:04:02 -02:00
Alex Crichton 9029cfb9eb Add more Linux-based syscall tables
* Add syscall tables to most remaining arches in `src/unix/notbsd`
* Add aarch64/arm musl to CI
* Update dependencies
2017-10-18 15:17:00 -07:00
Tom Kirchner b9fdcf9467 Add support for aarch64-unknown-linux-musl
Signed-off-by: Tom Kirchner <tjk@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
2017-09-25 14:30:52 -07:00
Alex Crichton fbfb69b3bc Tweak x86 gnu images
Apparently the 17.10 image broke?
2017-09-19 18:19:35 -07:00