$ the-wire · showcase
libc hardens config, rust-analyzer ships 2026-09-07
By RepoJournal · Filed · About Rust
libc added assertions that its target configuration is coherent, and rust-analyzer released a new nightly with completion improvements.
rust-lang/libc is tightening its build configuration. Previously, settings like `freebsd12` could be applied on non-FreeBSD targets; the project now asserts that such configurations make sense [1]. Companion work [2] switches the config to an enum for type safety, preparing for better checks. If you build libc from source or vendor it, expect stricter validation at build time.
On Linux, libc moved more `socket.h` definitions to `src/new` as part of ongoing cleanup [3], and fixed unusable riscv32 GNU syscall numbers: RISC-V 32-bit only provides time64 variants for those syscalls, so the numbers now use the time64 versions and the unavailable time32 names were removed [4]. This is a breaking change for any code referencing the old riscv32 syscall constants.
rust-analyzer shipped its 2026-09-07 release (`v0.3.3041`) [5]. The release notes list a new feature: completion label details now render const values [5]. A separate fix corrects parsing of `self::` in function parameter lists, resolving an issue where standalone `self::` was mishandled [6]. The CI naming convention in rust-lang/rust now requires every job to start with either `dist-` or `test-`, making jobs easier to search in the GitHub UI [7]. The official Docker images updated to Rust 1.98.1 [8].
Action items
- → Update Docker images to rust:1.98.1 if you pin to an older tag rust-lang/docker-rust [plan]
- → Review riscv32 GNU code for references to removed time32 syscall names rust-lang/libc [plan]
- → Update rust-analyzer to v0.3.3041 for the const-value completion display rust-lang/rust-analyzer [monitor]
References
- [1] build: Assert that cfg makes sense ↗ rust-lang/libc
- [2] build: Switch to an enum for config ↗ rust-lang/libc
- [3] linux: Move more `socket.h` definitions to `src/new` ↗ rust-lang/libc
- [4] linux: fix unusable riscv32 GNU syscall numbers ↗ rust-lang/libc
- [5] 2026-09-07 ↗ rust-lang/rust-analyzer
- [6] fix: Fix parsing of `self::` in fn param list ↗ rust-lang/rust-analyzer
- [7] Implement test- naming convention for CI jobs ↗ rust-lang/rust
- [8] chore: Update Rust to 1.98.1 ↗ rust-lang/docker-rust