Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4d289c3
Changed type definition and removed reserved field (+1 squashed commits)
Nov 15, 2024
2ab31de
Adding defines and functions required for vxworks
gautam899 Oct 15, 2025
575d943
Update relibc constants for Redox compatibility
ChihweiLHBird Feb 22, 2026
22e8eac
Update `semver/redox.txt`
ChihweiLHBird Feb 22, 2026
9fb2786
chore: suppress `unused_features` lint
JohnTitor Mar 8, 2026
60d5da4
nuttx: Add _SC_HOST_NAME_MAX constant
no1wudi Mar 7, 2026
8e6b2e9
redox: fix signal action constant types
xtqqczze Mar 9, 2026
bad3b08
linux: add CAN netlink bindings
hashemmm96 Mar 12, 2026
0ef380c
adding ethhdr type for linux/android for proper packet filtering.
devnexen Jan 12, 2025
64d21a0
FreeBSD: Added `xfile` structe and file descriptor types
antoncxx Mar 4, 2026
1459c69
Deprecate `__uint128_t`, `__uint128`, `__int128_t`, and `__int128`
tgross35 Mar 14, 2026
1d449fd
Re-export `core::ffi` integer types rather than redefining
tgross35 Mar 14, 2026
4b32b1e
build(deps): bump vmactions/solaris-vm from 1.3.1 to 1.3.2
dependabot[bot] Mar 16, 2026
df28ab6
chore(ci): upgrade macOS runner to 26
JohnTitor Mar 14, 2026
dc3ae22
netbsd: add missing CLOCK_ constants
xtqqczze Mar 16, 2026
710462c
linux: add ifinfomsg struct from rtnetlink.h
hashemmm96 Mar 13, 2026
4b14bfe
Update FreeBSD 14 CI image
asomers Mar 17, 2026
347ec4c
wasi: add all _SC_* sysconf constants from wasi-libc
surban Mar 18, 2026
6410fd7
cygwin: Add missing TIOCM_DSR from termios.h
500-internal-server-error Mar 24, 2026
98955b0
Define max_align_t for riscv64-linux
andreas-schwab Mar 22, 2026
9a13d2e
Add IP_MINTTL to bsd
sungwoncho Mar 21, 2026
00f7b79
newlib/espidf: Move DT_* to espidf/mod.rs
drinkcat Mar 30, 2026
fe46952
Fix locale values and add RTLD_NOLOAD, some TCP constants
ChihweiLHBird Mar 29, 2026
e2abc0e
types: Add a `new` function to `Padding`
tgross35 Apr 1, 2026
576779c
pthread: Use `Padding::new(<zeroed>)` rather than `Padding::uninit()`
tgross35 Apr 1, 2026
816773b
types: Remove `Padding::uninit`
tgross35 Apr 1, 2026
83e7660
linux: update ptrace_syscall_info struct
Marcondiro Feb 10, 2026
e55a0af
ci: Don't enforce cargo-semver-checks
tgross35 Apr 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ task:
image: freebsd-15-0-release-amd64-ufs
- name: nightly freebsd-14 x86_64
freebsd_instance:
image: freebsd-14-3-release-amd64-ufs
image: freebsd-14-4-release-amd64-ufs
- name: nightly freebsd-15 x86_64
freebsd_instance:
image: freebsd-15-0-release-amd64-ufs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: Clippy on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-15, windows-2025]
os: [ubuntu-24.04, macos-26, windows-2025]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
matrix:
include:
- target: aarch64-apple-darwin
os: macos-15
os: macos-26
- target: aarch64-pc-windows-msvc
os: windows-11-arm
- target: aarch64-unknown-linux-gnu
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
- target: wasm32-wasip1
- target: wasm32-wasip2
- target: x86_64-apple-darwin
os: macos-15-intel
os: macos-26-intel
- target: x86_64-linux-android
# FIXME: Exec format error (os error 8)
# - target: x86_64-unknown-linux-gnux32
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: test on Solaris
uses: vmactions/solaris-vm@v1.3.1
uses: vmactions/solaris-vm@v1.3.2
if: contains(matrix.target, 'solaris')
with:
release: "11.4-gcc"
Expand Down
8 changes: 5 additions & 3 deletions ci/verify-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,16 @@ def do_semver_checks(cfg: Cfg, target: Target) -> bool:
"--features=std,extra_traits",
"--release-type=patch",
],
check=True,
check=False,
)
# Don't return here so we still get the same rustdoc-json-base tests even while
# running on the host.

if cfg.baseline_crate_dir is None:
eprint("Non-host target: --baseline-crate-dir must be specified to \
run semver-checks")
eprint(
"Non-host target: --baseline-crate-dir must be specified to \
run semver-checks"
)
sys.exit(1)

# Since semver-checks doesn't work with `--target`, we build the json ourself and
Expand Down
33 changes: 31 additions & 2 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ fn test_apple(target: &str) {

// FIXME(macos): The size is changed in recent macOSes.
"malloc_introspection_t" if x86_64 => true,

// FIXME(macos): The size is changed in macOS 26.
"vm_statistics64" => true,
_ => false,
}
});
Expand All @@ -358,6 +361,21 @@ fn test_apple(target: &str) {
// https://github.com/apple-oss-distributions/xnu/commit/e6231be02a03711ca404e5121a151b24afbff733
"TIOCREMOTE" => true,

// FIXME(macos): bumped up on macOS 26
// https://github.com/apple-oss-distributions/xnu/commit/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea
"ELAST" => true,

// FIXME(macos): bumped up on macOS 26, it's sizeof `vm_statistics64_data_t`
"HOST_VM_INFO64_COUNT" => true,

_ => false,
}
});

cfg.skip_alias(move |ty| {
match ty.ident() {
// FIXME(macos): The size is changed in macOS 26.
"vm_statistics64_data_t" => true,
_ => false,
}
});
Expand Down Expand Up @@ -2875,6 +2893,9 @@ fn test_freebsd(target: &str) {
// Added in FreeBSD 15
"AT_HWCAP3" | "AT_HWCAP4" if Some(15) > freebsd_ver => true,

// Added in FreeBSD 15
"DTYPE_INOTIFY" | "DTYPE_JAILDESC" if Some(15) > freebsd_ver => true,

_ => false,
}
});
Expand Down Expand Up @@ -3997,8 +4018,9 @@ fn test_linux(target: &str) {
"linux/can.h",
"linux/can/bcm.h",
"linux/can/error.h",
"linux/can/raw.h",
"linux/can/j1939.h",
"linux/can/netlink.h",
"linux/can/raw.h",
"linux/cn_proc.h",
"linux/connector.h",
"linux/dccp.h",
Expand Down Expand Up @@ -4295,6 +4317,10 @@ fn test_linux(target: &str) {
// FIXME(musl): New fields in newer versions
"utmpx" if !old_musl => true,

// FIXME(linux): Requires >= 6.16 kernel headers.
// On 64 bits the size did not change, skip only for 32 bits.
"ptrace_syscall_info" if pointer_width == 32 => true,

_ => false,
}
});
Expand Down Expand Up @@ -4662,6 +4688,7 @@ fn test_linux(target: &str) {
});

let c_enums = [
"can_state",
"membarrier_cmd",
"pid_type",
"proc_cn_event",
Expand Down Expand Up @@ -4862,7 +4889,9 @@ fn test_linux(target: &str) {
true
}
// the `u` field is in fact an anonymous union
("ptrace_syscall_info", "u" | "pad") if gnu => true,
("ptrace_syscall_info", "u") if gnu => true,
// FIXME(linux): `flags` requires >= 6.16 kernel headers
("ptrace_syscall_info", "flags") if gnu => true,
// the vregs field is a `__uint128_t` C's type.
("user_fpsimd_struct", "vregs") => true,
// Linux >= 5.11 tweaked the `svm_zero` field of the `sockaddr_vm` struct.
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3449,6 +3449,7 @@ epoll_create1
epoll_ctl
epoll_event
epoll_wait
ethhdr
eventfd
eventfd_read
eventfd_write
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ IPV6_RECVPKTINFO
IPV6_RECVTCLASS
IPV6_TCLASS
IP_HDRINCL
IP_MINTTL
IP_RECVDSTADDR
IP_RECVIF
IP_RECVTTL
Expand Down
2 changes: 2 additions & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ IP_BINDANY
IP_BINDMULTI
IP_DONTFRAG
IP_HDRINCL
IP_MINTTL
IP_ORIGDSTADDR
IP_RECVDSTADDR
IP_RECVIF
Expand Down Expand Up @@ -2434,4 +2435,5 @@ vmtotal
wait4
waitid
xallocx
xfile
xucred
1 change: 1 addition & 0 deletions libc-test/semver/linux-gnu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ dlvsym
eaccess
endutxent
epoll_pwait2
ethhdr
euidaccess
execveat
explicit_bzero
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/linux-riscv64gc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ TIOCSRS485
flock64
fsblkcnt64_t
fsfilcnt64_t
max_align_t
56 changes: 56 additions & 0 deletions libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,17 @@ CANXL_SEC
CANXL_XLF
CAN_BCM
CAN_BUS_OFF_THRESHOLD
CAN_CTRLMODE_3_SAMPLES
CAN_CTRLMODE_BERR_REPORTING
CAN_CTRLMODE_CC_LEN8_DLC
CAN_CTRLMODE_FD
CAN_CTRLMODE_FD_NON_ISO
CAN_CTRLMODE_LISTENONLY
CAN_CTRLMODE_LOOPBACK
CAN_CTRLMODE_ONE_SHOT
CAN_CTRLMODE_PRESUME_ACK
CAN_CTRLMODE_TDC_AUTO
CAN_CTRLMODE_TDC_MANUAL
CAN_EFF_FLAG
CAN_EFF_ID_BITS
CAN_EFF_MASK
Expand Down Expand Up @@ -321,6 +332,13 @@ CAN_RAW_XL_FRAMES
CAN_RTR_FLAG
CAN_SFF_ID_BITS
CAN_SFF_MASK
CAN_STATE_BUS_OFF
CAN_STATE_ERROR_ACTIVE
CAN_STATE_ERROR_PASSIVE
CAN_STATE_ERROR_WARNING
CAN_STATE_SLEEPING
CAN_STATE_STOPPED
CAN_TERMINATION_DISABLED
CAN_TP16
CAN_TP20
CBAUD
Expand Down Expand Up @@ -1055,6 +1073,36 @@ IFLA_AF_SPEC
IFLA_ALLMULTI
IFLA_ALT_IFNAME
IFLA_BROADCAST
IFLA_CAN_BERR_COUNTER
IFLA_CAN_BITRATE_CONST
IFLA_CAN_BITRATE_MAX
IFLA_CAN_BITTIMING
IFLA_CAN_BITTIMING_CONST
IFLA_CAN_CLOCK
IFLA_CAN_CTRLMODE
IFLA_CAN_CTRLMODE_EXT
IFLA_CAN_CTRLMODE_SUPPORTED
IFLA_CAN_CTRLMODE_UNSPEC
IFLA_CAN_DATA_BITRATE_CONST
IFLA_CAN_DATA_BITTIMING
IFLA_CAN_DATA_BITTIMING_CONST
IFLA_CAN_RESTART
IFLA_CAN_RESTART_MS
IFLA_CAN_STATE
IFLA_CAN_TDC
IFLA_CAN_TDC_TDCF
IFLA_CAN_TDC_TDCF_MAX
IFLA_CAN_TDC_TDCF_MIN
IFLA_CAN_TDC_TDCO
IFLA_CAN_TDC_TDCO_MAX
IFLA_CAN_TDC_TDCO_MIN
IFLA_CAN_TDC_TDCV
IFLA_CAN_TDC_TDCV_MAX
IFLA_CAN_TDC_TDCV_MIN
IFLA_CAN_TDC_UNSPEC
IFLA_CAN_TERMINATION
IFLA_CAN_TERMINATION_CONST
IFLA_CAN_UNSPEC
IFLA_CARRIER
IFLA_CARRIER_CHANGES
IFLA_CARRIER_DOWN_COUNT
Expand Down Expand Up @@ -3959,9 +4007,16 @@ bcm_timeval
blkcnt64_t
brk
bsearch
can_berr_counter
can_bittiming
can_bittiming_const
can_clock
can_ctrlmode
can_device_stats
can_err_mask_t
can_filter
can_frame
can_state
canfd_frame
canid_t
canxl_frame
Expand Down Expand Up @@ -4093,6 +4148,7 @@ if_freenameindex
if_nameindex
ifaddrs
ifconf
ifinfomsg
ifreq
in6_ifreq
in6_pktinfo
Expand Down
2 changes: 2 additions & 0 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ CLD_KILLED
CLD_STOPPED
CLD_TRAPPED
CLOCK_PROCESS_CPUTIME_ID
CLOCK_PROF
CLOCK_THREAD_CPUTIME_ID
CLOCK_VIRTUAL
CMSG_DATA
CMSG_FIRSTHDR
CMSG_LEN
Expand Down
7 changes: 7 additions & 0 deletions libc-test/semver/redox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ EUNATCH
EUSERS
EXFULL
FIONREAD
F_DUPFD_CLOEXEC
IMAXBEL
IPPROTO_ICMP
IPPROTO_IDP
Expand All @@ -109,6 +110,8 @@ IPPROTO_TCP
IPPROTO_UDP
IPV6_ADD_MEMBERSHIP
IPV6_DROP_MEMBERSHIP
IPV6_JOIN_GROUP
IPV6_LEAVE_GROUP
IP_RECVTOS
IP_TOS
IUCLC
Expand Down Expand Up @@ -162,6 +165,7 @@ RLIMIT_STACK
RLIM_INFINITY
RLIM_SAVED_CUR
RLIM_SAVED_MAX
RTLD_NOLOAD
RUSAGE_BOTH
RUSAGE_CHILDREN
RUSAGE_SELF
Expand All @@ -187,7 +191,10 @@ SO_REUSEPORT
SO_SNDBUFFORCE
TCFLSH
TCGETS
TCP_KEEPCNT
TCP_KEEPIDLE
TCP_KEEPINTVL
TCP_MAXSEG
TCSETS
TIOCGPGRP
TIOCSCTTY
Expand Down
Loading