Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
746dda8
util: Fix the ordering of backported commits
tgross35 Aug 31, 2026
3cff71b
util: Properly escape strings passed to `printf`
tgross35 Sep 4, 2026
003ef1e
renovate: Create PRs against both `main` and `libc-0.2`
tgross35 Sep 4, 2026
c473937
Unix: Add `_PATH_BSHELL` and `_PATH_DEFPATH` where available. The fol…
asder8215 Aug 30, 2026
ccec21e
musl: Move more constants to `socket.rs`
tgross35 Sep 5, 2026
dafef35
glibc: Closer match upstream's root structure
tgross35 Sep 5, 2026
3552dd8
renovate: Fix cron schedule
tgross35 Sep 5, 2026
fd05303
unix: Deprecate the POSIX-obsoleted `tmpnam`, `tempnam`
tgross35 Sep 5, 2026
6b6047a
macros: Support field attributes in `c_enum!`
tgross35 Sep 5, 2026
fc123c0
glibc: Move more socket constants to `src/new`
tgross35 Sep 5, 2026
6ddcfad
docs: Link to online manpages in crate documentation
tgross35 Sep 5, 2026
857e697
cleanup: Replace `crate::c_*` with `c_` for types in the prelude
tgross35 Sep 6, 2026
a179d62
linux: Move more `socket.h` definitions to `src/new`
tgross35 Sep 5, 2026
418ee29
build: Switch to an enum for config
tgross35 Sep 5, 2026
1f0aa1c
build: Assert that cfg makes sense
tgross35 Sep 5, 2026
5bfad6c
util: Print the time it took to do the checks
tgross35 Sep 6, 2026
19137a4
Make `rustc-dep-of-std` work with `extra-traits`
tgross35 Sep 6, 2026
8aa6e86
libc: Make `rustc-dep-of-std` work in tests
xtqqczze Sep 6, 2026
a9bd40b
linux: fix unusable riscv32 GNU syscall numbers
xjtu-ctgg Aug 31, 2026
cf5bf2b
uclibc: Also run checks with the time64 setting
tgross35 Sep 5, 2026
28f104e
build: Restructure time64 config
tgross35 Sep 5, 2026
0d200bb
build: Fix a comment about what `gnu_time_bits64` implies
tgross35 Sep 7, 2026
be1e298
qnx: add missing definitions for io-sock
lambinoo Sep 4, 2026
ae11b7f
build: Implement Display trait for Cfg
xtqqczze Sep 6, 2026
831095f
util: Bump the check-all-targets toolchain
tgross35 Sep 8, 2026
d3eddcb
docs: Be more clear about the problem with `uninit`
tgross35 Sep 8, 2026
44fc56b
Redisable constants for L4Re
farao Sep 8, 2026
03b63ec
linux: Add `BCACHEFS_SUPER_MAGIC` constant
mati865 Sep 8, 2026
6d06b0f
build: Don't warn when enabling opting into musl 1.2 via multiple ways
Gelbpunkt Sep 8, 2026
c70b88f
ci: Test `i686-pc-windows-msvc` as without host tools
JohnTitor Sep 13, 2026
2a06366
linux: Add FUTEX_ROBUST_UNLOCK and FUTEX_ROBUST_LIST32
Gelbpunkt Sep 12, 2026
5c0596a
build(linux): remove skip for `siginfo_t` field
dybucc Sep 11, 2026
3648af8
glibc: add `__f_unused` to `statvfs64` on riscv32
Yasser-Ameur Sep 8, 2026
12e20ce
aix: clean up item paths
dybucc Aug 6, 2026
87df336
aix: tweak anonymous union ident in `poll_ctl_ext`
dybucc Aug 6, 2026
5685dec
aix: error on unsupported target
dybucc Aug 6, 2026
5efeb4a
ci: first steps to fix x86_64-unknown-redox target
xtqqczze Sep 10, 2026
c0232eb
openbsd: add sensor structure and related items
nalysius Sep 7, 2026
02374ca
musl: fix `siginfo_t` definition
dybucc Sep 11, 2026
ab875da
OpenBSD: add getexecpath()
brad0 Sep 4, 2026
bbb14db
ci: normalize paths before the style ignore-file check
Yasser-Ameur Sep 8, 2026
4a3fd6a
macros: add support for `exhaustive` attr
dybucc Aug 29, 2026
3d58e0e
macros: add tests for exhaustiveness
dybucc Aug 29, 2026
b4cc4ec
macros: rename `struct_with_default` and friends
dybucc Sep 1, 2026
0c17322
redox: add FILENAME_MAX constant
xtqqczze Sep 16, 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
33 changes: 22 additions & 11 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,41 @@
":maintainLockFilesMonthly",
"helpers:pinGitHubActionDigestsToSemver"
],
baseBranchPatterns: ["main", "libc-0.2"],
lockFileMaintenance: {
enabled: true,
// Every other Monday. Renovate requires a range, hence `* *` rather
// than `0 0`.
schedule: ["* * 1-7,15-21 * 1"]
},
packageRules: [
{
matchCategories: [
"rust"
],
matchJsonata: [
"isBreaking != true"
],
matchCategories: ["rust"],
matchJsonata: ["isBreaking != true"],
// Disable non-breaking change updates because they
// are updated periodically with lockfile maintainance.
enabled: false,
},
{
matchManagers: [
"github-actions"
],
matchCategories: ["rust"],
// Separate PRs against main and 0.2
addLabels: ["stable-declined"],
},
{
matchManagers: ["github-actions"],
// Every month
schedule: "* 0 1 * *",
groupName: "Github Actions",
// Separate PRs against main and 0.2
addLabels: ["stable-declined"],
},
{
// Don't updates such as 23.10 -> mantic-20240530
"matchDatasources": ["docker"],
"pinDigests": false
matchDatasources: ["docker"],
// Only on main, we backport these
matchBaseBranches: ["main"],
addLabels: ["stable-nominated"],
pinDigests: false
}
],
// Receive any update that fixes security vulnerabilities.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ jobs:
os: ubuntu-26.04-arm
- target: i686-pc-windows-msvc
os: windows-2025
host: x86_64-pc-windows-msvc # Tier 1 without host tools
- target: i686-unknown-linux-gnu
- target: x86_64-pc-windows-gnu
os: windows-2025
Expand All @@ -144,6 +145,7 @@ jobs:
runs-on: ${{ matrix.os && matrix.os || 'ubuntu-26.04' }}
timeout-minutes: 25
env:
RUST_HOST: ${{ matrix.host }}
TARGET: ${{ matrix.target }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -237,7 +239,7 @@ jobs:
- target: x86_64-unknown-linux-musl
env: { TEST_MUSL_V1_2: 1 }
artifact-tag: new-musl
# FIXME: It seems some items in `src/unix/mod.rs` aren't defined on redox actually.
# FIXME: https://github.com/rust-lang/libc/issues/5520
# - target: x86_64-unknown-redox

# FIXME(ppc): SIGILL running tests, see
Expand Down
17 changes: 4 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Common sources include:
<https://sourceware.org/git/?p=glibc.git;a=tree> (original)
* Illumos: <https://github.com/illumos/illumos-gate> (official mirror),
<https://code.illumos.org/plugins/gitiles/illumos-gate/+/refs/heads/master> (original)
* L4RE: <https://github.com/kernkonzept/l4re-core> (original)
* Linux uapi: <https://github.com/torvalds/linux/tree/master/include/uapi> (official mirror),
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/> (original)
* Musl: <https://github.com/kraj/musl> (unofficial mirror),
Expand All @@ -141,6 +142,8 @@ Common sources include:
* OpenBSD: <https://github.com/openbsd> (official mirror),
<https://cvsweb.openbsd.org/src> (original)
* RedoxOS: <https://gitlab.redox-os.org/redox-os/relibc>
* Uclibc: <https://github.com/wbx-github/uclibc-ng> (mirror),
<https://git.uclibc-ng.org/git/uclibc-ng.git> (original)
* Windows GNU: <https://github.com/mingw-w64/mingw-w64> (unofficial mirror),
<https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/> (original)
* Windows MSVC: <https://github.com/microsoft/win32metadata>
Expand Down Expand Up @@ -171,19 +174,7 @@ are preferred because they become part of history.)
Including links to manpages is not required but can also be very helpful to
include. Some platforms also publish manpages but not sources.

Common web manuals:

* AIX: <https://www.ibm.com/docs/en/aix/7.3.0>
* Apple: <https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man5/manpages.5.html>
is the only known official site but it is severly outdated. <https://manp.gs/mac/>
or <https://ss64.com/mac/> are better options.
* DragonFlyBSD: <https://www.dragonflybsd.org/cgi/web-man>
* FreeBSD: <https://man.freebsd.org/cgi/man.cgi>
* Illumos: <https://illumos.org/man/>
* NetBSD: <https://man.netbsd.org/>
* OpenBSD: <https://man.openbsd.org/>
* Solaris: <https://docs.oracle.com/cd/E88353_01/>
* Windows MSVC: <https://learn.microsoft.com/en-us/cpp/c-runtime-library/c-run-time-library-reference?view=msvc-180>
See documentation in `src/lib.rs` for links to online manuals.

## Breaking change policy

Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ default-target = "x86_64-unknown-linux-gnu"
targets = [
# Note: Keep this in sync with ci/verify-build.py
#
# Tier 1
# Tier 1 with host tools
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"i686-pc-windows-msvc",
"i686-unknown-linux-gnu",
"x86_64-pc-windows-gnu",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
#
# Tier 1 without host tools
"i686-pc-windows-msvc",
#
# Tier 2 with host tools
"aarch64-pc-windows-gnullvm",
"aarch64-unknown-linux-musl",
Expand Down
Loading
Loading