Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5ca498c
ci: Add a job to ensure documentation succeeds
tgross35 Apr 3, 2025
1fe70e2
cleanup: Also use `s_no_extra_traits!` for private structs
tgross35 Nov 2, 2025
88ea40e
ci: Make clippy a required job
tgross35 Nov 4, 2025
a39da3f
ci: Add testing for NetBSD
tgross35 Oct 27, 2025
57df986
Add `core::cfg` to the prelude
tgross35 Nov 3, 2025
0f85a85
test: Factor out a fallible command runner
tgross35 Nov 2, 2025
e5204d6
NetBSD: Delete items from the semver file that don't exist
tgross35 Oct 28, 2025
0d93ca9
NetBSD: riscv64: Fix the mcontext types
tgross35 Nov 2, 2025
c446125
NetBSD: Update test headers and skips
tgross35 Oct 28, 2025
54f794a
NetBSD: Skip tests on 9.x for network structs with alignment mismatches
tgross35 Nov 3, 2025
2bdf8b8
NetBSD: Remove IFF_NOTRAILERS
tgross35 Oct 28, 2025
ab23a76
NetBSD: Remove `*_MAXID` constants and `AT_SUN_LDPGSIZE`
tgross35 Oct 29, 2025
711c739
NetBSD: Remove `vm_size_t`
tgross35 Oct 28, 2025
c76c053
NetBSD: Remove BPF constants
tgross35 Oct 29, 2025
e0c5c91
NetBSD: Replace REG_ENOSYS with REG_ILLSEQ
tgross35 Oct 28, 2025
400e22d
NetBSD: Fix `uucred.cr_ngroups` from `int` to `short`
tgross35 Oct 28, 2025
b99fbc2
NetBSD: Fix the type of `kevent.udata`
tgross35 Oct 28, 2025
3cc0df8
NetBSD: Fix the value of `PT_SUSPEND`
tgross35 Oct 29, 2025
2725fe3
NetBSD: Fix the values of FNM_* constants
tgross35 Oct 28, 2025
47deddf
NetBSD: Fix the type of `mcontext_t.__fpregs`
tgross35 Oct 28, 2025
4682323
NetBSD: Increase the size of `sockaddr_dl.sdl_data` from 12 to 24
tgross35 Oct 28, 2025
73253ea
NetBSD: Make `_cpuset` an extern type
tgross35 Oct 28, 2025
bf8a00b
NetBSD: Account for upstream changes to ptrace with LWP
tgross35 Oct 28, 2025
fa8ef73
NetBSD: Introduce `statvfs.rs`
tgross35 Oct 29, 2025
845e4d2
NetBSD: Make `statvfs.f_spare` non-public
tgross35 Oct 28, 2025
5a81386
NetBSD: Skip tests for structvfs on NetBSD10
tgross35 Nov 3, 2025
34a682c
NetBSD: Correct `ipc_perm`, split from OpenBSD as `ipc.rs`
tgross35 Oct 29, 2025
87dafa4
NetBSD: Introduce `utmp_.rs`, correct the definition of `lastlog`
tgross35 Oct 29, 2025
6ba7279
NetBSD: Introduce `utmpx_.rs`, correct utmpx definitions
tgross35 Oct 29, 2025
3452b42
NetBSD: Introduce `types.rs`, correct the definition of `lwpid_t`
tgross35 Oct 29, 2025
7230f11
NetBSD: Introduce `timex.rs`
tgross35 Oct 29, 2025
0f18e02
NetBSD: Introduce `time.rs`, fix the values of `CLOCK_*_CPUTIME_ID`
tgross35 Oct 29, 2025
1a9e472
NetBSD: Introduce `if_.rs`, fix the definition of `ifreq`
tgross35 Oct 29, 2025
8d73b33
NetBSD: Correct a number of symbol link names
tgross35 Oct 29, 2025
7edc382
NetBSD: Correct the type of `kinfo_vmentry.kve_path`
tgross35 Dec 2, 2025
5838a61
Add missing constants from `unistd.h`
Nov 3, 2025
39861b7
test: Upgrade ctest
tgross35 Dec 2, 2025
d28b3ed
Gate `__wasilibc_register_preopened_fd` on WASI
alexcrichton Nov 20, 2025
55a6359
Fix pid_t type on redox
jackpot51 Nov 8, 2025
4a9cba1
build(deps): bump vmactions/solaris-vm from 1.1.5 to 1.1.6
dependabot[bot] Nov 10, 2025
aadbe6d
Update wasi-sdk in CI, plus some script updates
alexcrichton Nov 20, 2025
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
37 changes: 35 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,12 @@ jobs:
matrix:
include:
- target: x86_64-pc-solaris
- target: x86_64-unknown-netbsd
timeout-minutes: 25
steps:
- uses: actions/checkout@v5
- name: test on Solaris
uses: vmactions/solaris-vm@v1.1.5
uses: vmactions/solaris-vm@v1.1.6
if: contains(matrix.target, 'solaris')
with:
release: "11.4-gcc"
Expand All @@ -287,6 +288,37 @@ jobs:
export PATH=$HOME/.rust_solaris/bin:$PATH
./ci/run.sh ${{ matrix.target }}

- name: Test on NetBSD
uses: vmactions/netbsd-vm@v1
if: contains(matrix.target, 'netbsd')
with:
release: "10.1"
usesh: true
mem: 4096
copyback: false
prepare: |
set -x
/usr/sbin/pkg_add curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
--profile minimal --default-toolchain nightly -y
run: |
set -x
. "$HOME/.cargo/env"
which rustc
rustc -Vv
./ci/run.sh ${{ matrix.target }}

docs:
name: Ensure docs build
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update nightly --no-self-update && rustup default nightly
- uses: Swatinem/rust-cache@v2
- run: cargo doc --workspace --no-deps

# One job that "summarizes" the success state of this pipeline. This can then be added to branch
# protection, rather than having to add each job separately.
success:
Expand All @@ -298,8 +330,9 @@ jobs:
- test_tier2
- test_tier2_vm
- verify_build
- docs
- clippy
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
# Github branch protection is exceedingly silly and treats "jobs skipped because a dependency
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
# dependencies fails.
if: always() # make sure this is never "skipped"
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci/docker/wasm32-wasip1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN /wasi.sh
# library.
ENV CARGO_TARGET_WASM32_WASIP1_RUNNER=wasmtime \
CARGO_TARGET_WASM32_WASIP1_LINKER=/opt/wasi-sdk/bin/clang \
CARGO_TARGET_WASM32_WASIP1_RUSTFLAGS="-lwasi-emulated-process-clocks -Ctarget-feature=-crt-static" \
CARGO_TARGET_WASM32_WASIP1_RUSTFLAGS="-Clink-self-contained=n -lwasi-emulated-process-clocks" \
CC_wasm32_wasip1=/opt/wasi-sdk/bin/clang \
CFLAGS_wasm32_wasip1=-D_WASI_EMULATED_PROCESS_CLOCKS \
PATH=$PATH:/rust/bin:/wasmtime
2 changes: 1 addition & 1 deletion ci/docker/wasm32-wasip2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN /wasi.sh
# itself, this should be fixed upstream.
ENV CARGO_TARGET_WASM32_WASIP2_RUNNER=wasmtime \
CARGO_TARGET_WASM32_WASIP2_LINKER=/opt/wasi-sdk/bin/clang \
CARGO_TARGET_WASM32_WASIP2_RUSTFLAGS="-lwasi-emulated-process-clocks -Ctarget-feature=-crt-static -Clink-arg=-Wl,--export,cabi_realloc" \
CARGO_TARGET_WASM32_WASIP2_RUSTFLAGS="-Clink-self-contained=n -lwasi-emulated-process-clocks -Clink-arg=-Wl,--export,cabi_realloc" \
CC_wasm32_wasip2=/opt/wasi-sdk/bin/clang \
CFLAGS_wasm32_wasip2=-D_WASI_EMULATED_PROCESS_CLOCKS \
PATH=$PATH:/rust/bin:/wasmtime
2 changes: 1 addition & 1 deletion ci/wasi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ apt-get install -y --no-install-recommends \
# Wasmtime is used to execute tests and wasi-sdk is used to compile tests.
# Download appropriate versions here and configure various flags below.
wasmtime=38.0.2
wasi_sdk=27
wasi_sdk=29

curl -L https://github.com/bytecodealliance/wasmtime/releases/download/v$wasmtime/wasmtime-v$wasmtime-x86_64-linux.tar.xz |
tar xJf -
Expand Down
2 changes: 1 addition & 1 deletion libc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ annotate-snippets = { version = "0.11.5", features = ["testing-colors"] }
[build-dependencies]
cc = "1.2.43"
# Use the in-tree `ctest` from the `main` branch via crates.io
ctest = "0.5.0-beta.1"
ctest = "0.5.0-beta.2"
regex = "1.12.2"

[features]
Expand Down
Loading