Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
wlynxg authored Oct 21, 2024
2 parents 8921019 + 8d0b3a0 commit 7ecb58b
Show file tree
Hide file tree
Showing 39 changed files with 778 additions and 100 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ task:
image: freebsd-14-1-release-amd64-ufs
- name: nightly freebsd-15
freebsd_instance:
image_family: freebsd-15-0-snap
image_family: freebsd-15-0-snap
setup_script:
- pkg install -y libnghttp2 curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,14 @@ targets = [
"riscv32i-unknown-none-elf",
"riscv32imac-unknown-none-elf",
"riscv32imc-unknown-none-elf",
"riscv32-wrs-vxworks",
"riscv64gc-unknown-freebsd",
"riscv64gc-unknown-hermit",
"riscv64gc-unknown-linux-gnu",
"riscv64gc-unknown-linux-musl",
"riscv64gc-unknown-none-elf",
"riscv64imac-unknown-none-elf",
"riscv64-wrs-vxworks",
"s390x-unknown-linux-gnu",
"s390x-unknown-linux-musl",
"sparc-unknown-linux-gnu",
Expand Down
2 changes: 2 additions & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,13 @@ riscv32i-unknown-none-elf \
riscv32imac-unknown-none-elf \
riscv32imc-unknown-none-elf \
riscv32gc-unknown-linux-gnu \
riscv32-wrs-vxworks \
riscv64gc-unknown-freebsd \
riscv64gc-unknown-hermit \
riscv64gc-unknown-linux-musl \
riscv64gc-unknown-none-elf \
riscv64imac-unknown-none-elf \
riscv64-wrs-vxworks \
s390x-unknown-linux-musl \
sparc-unknown-linux-gnu \
sparc64-unknown-netbsd \
Expand Down
13 changes: 13 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ fn test_apple(target: &str) {
"errno.h",
"execinfo.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"glob.h",
"grp.h",
Expand Down Expand Up @@ -454,6 +455,7 @@ fn test_openbsd(target: &str) {
"errno.h",
"execinfo.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"libgen.h",
"limits.h",
Expand Down Expand Up @@ -731,6 +733,7 @@ fn test_redox(target: &str) {
"dlfcn.h",
"errno.h",
"fcntl.h",
"fnmatch.h",
"grp.h",
"limits.h",
"locale.h",
Expand Down Expand Up @@ -790,6 +793,7 @@ fn test_solarish(target: &str) {
"errno.h",
"execinfo.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"glob.h",
"grp.h",
Expand Down Expand Up @@ -1030,6 +1034,7 @@ fn test_netbsd(target: &str) {
"elf.h",
"errno.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"libgen.h",
"limits.h",
Expand Down Expand Up @@ -1244,6 +1249,7 @@ fn test_dragonflybsd(target: &str) {
"errno.h",
"execinfo.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"glob.h",
"grp.h",
Expand Down Expand Up @@ -1464,6 +1470,7 @@ fn test_wasi(target: &str) {
"dirent.h",
"errno.h",
"fcntl.h",
"fnmatch.h",
"langinfo.h",
"limits.h",
"locale.h",
Expand Down Expand Up @@ -1579,6 +1586,7 @@ fn test_android(target: &str) {
"elf.h",
"errno.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"grp.h",
"ifaddrs.h",
Expand Down Expand Up @@ -2087,6 +2095,7 @@ fn test_freebsd(target: &str) {
"errno.h",
"execinfo.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"glob.h",
"grp.h",
Expand Down Expand Up @@ -2709,6 +2718,7 @@ fn test_emscripten(target: &str) {
"dlfcn.h",
"errno.h",
"fcntl.h",
"fnmatch.h",
"glob.h",
"grp.h",
"ifaddrs.h",
Expand Down Expand Up @@ -2977,6 +2987,7 @@ fn test_neutrino(target: &str) {
"dlfcn.h",
"sys/elf.h",
"fcntl.h",
"fnmatch.h",
"glob.h",
"grp.h",
"iconv.h",
Expand Down Expand Up @@ -3371,6 +3382,7 @@ fn test_linux(target: &str) {
"dlfcn.h",
"elf.h",
"fcntl.h",
"fnmatch.h",
"getopt.h",
"glob.h",
[gnu]: "gnu/libc-version.h",
Expand Down Expand Up @@ -4795,6 +4807,7 @@ fn test_haiku(target: &str) {
"libutil.h",
"link.h",
"pty.h",
"stdlib.h",
"stringlist.h",
"sys/link_elf.h",
}
Expand Down
27 changes: 27 additions & 0 deletions libc-test/semver/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ F_SPECULATIVE_READ
F_TEST
F_THAW_FS
F_TLOCK
F_TRANSFEREXTENTS
F_TRIM_ACTIVE_FILE
F_ULOCK
F_UNLCK
Expand Down Expand Up @@ -1117,16 +1118,29 @@ PROC_CSM_TECS
PROC_PIDTASKALLINFO
PROC_PIDTASKINFO
PROC_PIDTHREADINFO
PTHREAD_CANCEL_ASYNCHRONOUS
PTHREAD_CANCEL_DEFERRED
PTHREAD_CANCEL_DISABLE
PTHREAD_CANCEL_ENABLE
PTHREAD_CANCELED
PTHREAD_CREATE_DETACHED
PTHREAD_CREATE_JOINABLE
PTHREAD_EXPLICIT_SCHED
PTHREAD_INHERIT_SCHED
PTHREAD_INTROSPECTION_THREAD_CREATE
PTHREAD_INTROSPECTION_THREAD_DESTROY
PTHREAD_INTROSPECTION_THREAD_START
PTHREAD_INTROSPECTION_THREAD_TERMINATE
PTHREAD_MUTEX_DEFAULT
PTHREAD_MUTEX_ERRORCHECK
PTHREAD_ONCE_INIT
PTHREAD_PRIO_INHERIT
PTHREAD_PRIO_NONE
PTHREAD_PRIO_PROTECT
PTHREAD_PROCESS_PRIVATE
PTHREAD_PROCESS_SHARED
PTHREAD_SCOPE_PROCESS
PTHREAD_SCOPE_SYSTEM
PTHREAD_STACK_MIN
PT_ATTACH
PT_ATTACHEXC
Expand Down Expand Up @@ -1744,6 +1758,7 @@ _WSTOPPED
__PTHREAD_CONDATTR_SIZE__
__PTHREAD_COND_SIZE__
__PTHREAD_MUTEX_SIZE__
__PTHREAD_ONCE_SIZE__
__PTHREAD_RWLOCKATTR_SIZE__
__PTHREAD_RWLOCK_SIZE__
__darwin_mcontext64
Expand Down Expand Up @@ -2041,8 +2056,18 @@ pseudo_AF_KEY
pseudo_AF_PIP
pseudo_AF_RTIP
pseudo_AF_XTP
pthread_atfork
pthread_attr_getdetachstate
pthread_attr_getinheritsched
pthread_attr_getschedparam
pthread_attr_getschedpolicy
pthread_attr_getscope
pthread_attr_getstackaddr
pthread_attr_setinheritsched
pthread_attr_setschedparam
pthread_attr_setschedpolicy
pthread_attr_setscope
pthread_attr_setstackaddr
pthread_cancel
pthread_condattr_getpshared
pthread_condattr_setpshared
Expand All @@ -2064,6 +2089,8 @@ pthread_kill
pthread_main_np
pthread_mutexattr_getpshared
pthread_mutexattr_setpshared
pthread_once
pthread_once_t
pthread_rwlockattr_getpshared
pthread_rwlockattr_setpshared
pthread_setname_np
Expand Down
25 changes: 25 additions & 0 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,31 @@ RLIMIT_STACK
RLIMIT_VMEM
RLIM_INFINITY
RLIM_NLIMITS
RTF_XRESOLVE
RTF_LLINFO
RTF_PROTO3
RTF_PINNED
RTF_LOCAL
RTF_BROADCAST
RTF_MULTICAST
RTM_LOCK
RTM_RESOLVE
RTM_NEWADDR
RTM_DELADDR
RTM_IFINFO
RTM_NEWMADDR
RTM_DELMADDR
RTM_IFANNOUNCE
RTM_IEEE80211
RTF_CLONING
RTF_PRCLONING
RTF_WASCLONED
RTF_MPLSOPS
RTM_VERSION
RTAX_MPLS1
RTAX_MPLS2
RTAX_MPLS3
RTAX_MAX
RTLD_NEXT
RTLD_NODELETE
RTLD_NOLOAD
Expand Down
21 changes: 21 additions & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,7 @@ PL_FLAG_SI
PM_STR
POLLINIGNEOF
POLLRDBAND
POLLRDHUP
POLLRDNORM
POLLSTANDARD
POLLWRBAND
Expand Down Expand Up @@ -1222,6 +1223,26 @@ RLIMIT_UMTXP
RLIMIT_VMEM
RLIM_INFINITY
RLIM_NLIMITS
RTF_XRESOLVE
RTF_LLINFO
RTF_PROTO3
RTF_PINNED
RTF_LOCAL
RTF_BROADCAST
RTF_MULTICAST
RTM_LOCK
RTM_RESOLVE
RTM_NEWADDR
RTM_DELADDR
RTM_IFINFO
RTM_NEWMADDR
RTM_DELMADDR
RTM_IFANNOUNCE
RTM_IEEE80211
RTF_LLDATA
RTF_FIXEDMTU
RTM_VERSION
RTAX_MAX
RTLD_NEXT
RTLD_NODELETE
RTLD_NOLOAD
Expand Down
11 changes: 11 additions & 0 deletions libc-test/semver/illumos.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
O_RSYNC
POLLRDHUP
POSIX_FADV_DONTNEED
POSIX_FADV_NOREUSE
POSIX_FADV_NORMAL
POSIX_FADV_RANDOM
POSIX_FADV_SEQUENTIAL
POSIX_FADV_WILLNEED
posix_fadvise
posix_fallocate
pthread_attr_get_np
pthread_attr_getstackaddr
pthread_attr_setstack
ptsname_r
2 changes: 2 additions & 0 deletions libc-test/semver/linux-i686.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ fsblkcnt64_t
fsfilcnt64_t
getcontext
greg_t
ioperm
iopl
makecontext
max_align_t
mcontext_t
Expand Down
3 changes: 2 additions & 1 deletion libc-test/semver/linux-musl.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# TODO: musl.
AF_IB
AF_MPLS
AF_XDP
Expand Down Expand Up @@ -89,6 +88,8 @@ getutxline
lio_listio
ntptimeval
open_wmemstream
posix_spawn_file_actions_addchdir_np
posix_spawn_file_actions_addfchdir_np
preadv2
preadv64
prlimit
Expand Down
2 changes: 2 additions & 0 deletions libc-test/semver/linux-x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ TIOCGRS485
TIOCSBRK
TIOCSRS485
greg_t
ioperm
iopl
max_align_t
mcontext_t
ucontext_t
Expand Down
22 changes: 22 additions & 0 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,28 @@ RLIM_INFINITY
RLIM_NLIMITS
RLIM_SAVED_CUR
RLIM_SAVED_MAX
RTF_MASK
RTF_CONNECTED
RTF_ANNOUNCE
RTF_SRC
RTF_LOCAL
RTF_BROADCAST
RTF_UPDATING
RTF_DONTCHANGEIFA
RTM_VERSION
RTM_LOCK
RTM_IFANNOUNCE
RTM_IEEE80211
RTM_SETGATE
RTM_LLINFO_UPD
RTM_IFINFO
RTM_OCHGADDR
RTM_NEWADDR
RTM_DELADDR
RTM_CHGADDR
RTA_TAG
RTAX_TAG
RTAX_MAX
RTLD_NEXT
RTLD_NOLOAD
RTLD_SELF
Expand Down
Loading

0 comments on commit 7ecb58b

Please sign in to comment.