Commit Graph

3370 Commits

Author SHA1 Message Date
bors ffbe923f92 Auto merge of #1472 - josephlr:fus, r=gnzlbg
Remove invalid Fuchsia functions

Extension of #1468

These functions are not present in Fuchsia's libc, so they cannot be
used in a program today. If Fuchsia ever decides to add these functions
to their libc, they can be added back as necessary.

These files were generated in the following manner:

1. Create a list of the current functions in Fuchsia's libc, put in `rust-functions.txt`
2. Change directory into [`fuchsia/zircon/third_party/ulib/musl/include`](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/third_party/ulib/musl/include/)
3. Run a script to determine which symbols in `rust-functions.txt` are not in the include dir:
    ```bash
    for i in $(cat rust-functions.txt);
        if ! rg $i > /dev/null; then
            echo $i
        fi
    done
    ```
4. This produces [a list of 99 functions](https://github.com/rust-lang/libc/pull/1468#issuecomment-521777743), which are then removed from this crate.
2019-08-17 19:16:26 +00:00
bors a41fc6062e Auto merge of #1471 - AdminXVII:redox-termios, r=gnzlbg
Add sys/termios.h support for Redox

Add constants for termios on Redox.

cc @jackpot51
2019-08-17 18:02:55 +00:00
bors 4b610e6321 Auto merge of #1449 - xen0n:mips64-musl-targets, r=gnzlbg
Add musl support for MIPS64 & bump to 0.2.63

Tested with patched stage2; both static and dynamic binaries confirmed working.

Initial CI support in the form of no-core targets are added.
2019-08-17 16:39:16 +00:00
bors abd5a3cf70 Auto merge of #1448 - equal-l2:bpf-consts, r=gnzlbg
Add ioctl() constants for BPF
2019-08-17 15:25:47 +00:00
bors c18f5633b9 Auto merge of #1477 - leo60228:newlib-freebsd-sockets, r=gnzlbg
Update newlib socket types to FreeBSD

None
2019-08-17 14:10:13 +00:00
bors 70d1f16e4a Auto merge of #1480 - gnzlbg:fix_build2, r=gnzlbg
Rename armv7-wrs-vxworks target
2019-08-17 12:53:23 +00:00
gnzlbg 2742aaa11f Formatting 2019-08-17 14:51:47 +02:00
gnzlbg bde74be6b2 Rename armv7-wrs-vxworks target 2019-08-17 14:01:21 +02:00
Luke Petre 2c839a3342 Adding OpenBSD as per request, verified here: https://github.com/openbsd/src/blob/master/sys/sys/stat.h#L188 2019-08-17 06:41:39 +01:00
Luke Petre 2b158cefc2 Adding UTIME_NOW and UTIME_OMIT to OSes which support utimensat 2019-08-17 06:37:25 +01:00
Thomas Lively 13175a8170 Update Emscripten system types
These changes bring the types up to parity with recent Emscripten
versions using the upstream LLVM wasm backend. These changes should be
coordinated with the upgrade of rustc's Emscripten support. See
https://internals.rust-lang.org/t/upgrading-rust-s-emscripten-support/10684
2019-08-16 20:29:03 -07:00
Wang Xuerui 435cdeeec8
Bump version to 0.2.63 2019-08-17 10:25:51 +08:00
Wang Xuerui 2883e4ce0f
ci: Add mips64(el)-unknown-linux-muslabi64 as initially no_core targets 2019-08-17 10:25:51 +08:00
Wang Xuerui cd51d11fcb
Add mips64 musl support 2019-08-17 10:25:05 +08:00
Wang Xuerui 9df2deb33b
Reorganize constant declarations to make up space for MIPS64-specific ones 2019-08-17 10:25:04 +08:00
leo60228 eb287a1ad8 Update socket types to freebsd 2019-08-16 20:43:33 -04:00
Baoshan Pang de98bf9748 remove spurious extra line 2019-08-16 14:12:37 -07:00
bors 4bd0c00026 Auto merge of #1475 - gnzlbg:fix_build, r=gnzlbg
Remove unnecessary trailing semi-colon
2019-08-16 14:36:35 +00:00
gnzlbg 3241ec5808 Do not deny warnings by default.
libc currently denies all warnings by default. This commit denies
warnings only when libc is built in CI.
2019-08-16 15:47:00 +02:00
equal-l2 cf1a3e10fa Fix bitness issue 2019-08-16 15:17:06 +09:00
equal-l2 c1fd075fbc Add ioctl() constants for BPF 2019-08-16 15:17:06 +09:00
Baoshan e1a417f1b2
Merge pull request #1 from Wind-River/bpang-issue1469
code cleanup and adding randBytes() etc
2019-08-15 15:58:24 -07:00
Joe Richey 0a7bbe9050 Remove invalid Fuchsia functions
These fuctions are not present in Fuchsia's libc, so they cannot be
used in a program today. If Fuchsia ever decides to add these functions
to their libc, they can be added back as necessary.
2019-08-15 13:44:38 -07:00
Baoshan Pang c2829045a2 1. adding randBytes(), randABytes(), randUBytes(), randSecure() and taskDelay()
2. change armv7-wrs-vxworks to armv7-wrs-vxworks-eabihf
3. code cleanup
2019-08-15 11:03:46 -07:00
bors dab1050e40 Auto merge of #1470 - semarie:openbsd-sparc64, r=gnzlbg
add support for sparc64 on OpenBSD
2019-08-15 17:54:09 +00:00
Xavier L'Heureux 5d85c37734 Add termios support for redox 2019-08-15 08:14:32 -04:00
Sébastien Marie 1a45839084 openbsd: add sparc64 support 2019-08-15 12:43:00 +02:00
Sébastien Marie 3311ba8a02 openbsd: introduce _MAX_PAGE_SHIFT to compute PTHREAD_STACK_MIN, MINSIGSTKSZ, and SIGSTKSZ 2019-08-15 12:29:48 +02:00
bors 37f8f8dc23 Auto merge of #1467 - gnzlbg:fix_freebsd, r=gnzlbg
Fix FreeBSD

#1440 broke FreeBSD by changing `libc` FreeBSD targets to require a `cfg(freebsdXX)` to be defined, but not updating `build.rs` to define `freebsd11` when `LIBC_CI` is not available. Since `LIBC_CI` is always defined on CI, this issue went undetected.

This PR fixes that issue in the `build.rs` and introduces a build task that tests FreeBSD without `LIBC_CI` on FreeBSD11, although I'm  not sure this would have caught the issue in #1466 .

Closes #1466 .
2019-08-15 04:56:09 +00:00
gnzlbg f0816947c9 Always pass freebsd11 - otherwise cross-compiling to FreeBSD fails 2019-08-15 06:55:13 +02:00
gnzlbg eb9f523e65 Update minor patch version to 0.2.62 2019-08-14 17:34:45 +02:00
gnzlbg cbc8fb9736 Set up RUSTDOCFLAGS for building libc 2019-08-14 17:32:21 +02:00
gnzlbg 9db561f04e Remove catch all for FreeBSD11 2019-08-14 15:22:20 +02:00
gnzlbg 077f4321b2 Test ABI without LIBC_CI on all supported FreeBSD versions 2019-08-14 08:17:44 +02:00
gnzlbg af88cf1f0f Add a build task for FreeBSD11 without LIBC_CI 2019-08-14 07:36:41 +02:00
gnzlbg 4f1966f5c5 Fix FreeBSD build 2019-08-14 07:30:15 +02:00
Artyom Pavlov e0752783bd
remove types and constants 2019-08-13 20:48:31 +00:00
bors d7907c00e1 Auto merge of #1445 - atouchet:links, r=gnzlbg
Update links
2019-08-13 16:15:33 +00:00
Alex Touchet 803cf6494f
Switch to Azure 2019-08-13 08:21:20 -07:00
bors ecdbc20e1c Auto merge of #1464 - gnzlbg:azure_nitpicks, r=gnzlbg
Update README Azure badge to rust-lang2 org
2019-08-12 10:27:05 +00:00
bors d279176458 Auto merge of #1458 - jackpot51:patch-1, r=gnzlbg
Bump version to 0.2.61

Releasing a version now will allow Redox compilation to work again, as it will include #1438
2019-08-12 09:13:34 +00:00
gnzlbg e7865a15a3 Update README Azure badge to rust-lang2 org 2019-08-12 10:15:35 +02:00
bors 245b0f891b Auto merge of #1440 - pizzamig:invert-freebsd12, r=gnzlbg
Add support for FreeBSD CURRENT (aka freebsd13)

Using the last FreeBSD-CURRENT (development snapshot) the libc build, but tests fail.
This patch detects and supports FreeBSD CURRENT as freebsd13, and reworks the conditional compilation to use the `freebsd11` attribute instead of `not(freebsd12)`
For now, freebsd13 is reusing all freebsd12 definitions, except for `ELAST`
While here, add a new `errno`introduced in freebsd13
2019-08-10 16:38:46 +00:00
bors 692dc544db Auto merge of #1462 - jbaublitz:musl-netlink-support, r=gnzlbg
Move musl-compatible constants to linux/mod.rs

This is a continuation of #1452. I think CI is ready to run fully and the PR is ready to be merged if the pipelines pass based on the CI I've done using musl libc in my own projects.
2019-08-10 15:22:30 +00:00
bors 9b09188dee Auto merge of #1408 - BaoshanPang:vxworks, r=gnzlbg
Support Vxworks

Define the C interface to VxWorks
2019-08-10 14:09:56 +00:00
John Baublitz 903a28b1cc Move all netlink constants over from gnu/mod.rs to mod.rs on Linux - will probably fail CI 2019-08-10 10:02:10 -04:00
Baoshan Pang d18003a277 Define the C interface to vxWorks for x86, x86_64, ARM, ARM 64-bit, PowerPC, PowerPC SPE and PowerPC 64-bit. 2019-08-09 12:53:06 -07:00
Artyom Pavlov 8bc9bd338e
remove WASI Core API 2019-08-09 19:21:27 +00:00
Taehyun Lee 636d86a951 Added vxworks libc references - worked on by danielmccormick and taehyun-lee 2019-08-09 10:12:51 -07:00
bors 231ac683d6 Auto merge of #1459 - asomers:freebsd_11_3, r=gnzlbg
Upgrade FreeBSD's CI image to release 11.3
2019-08-09 13:58:51 +00:00