The Wire · Showcase
RUST COMPILER SHRINKS MIR, MIRI ADDS SYSCALL SHIMS
By RepoJournal · Filed · About Rust
The compiler team landed a 14-PR rollup that cuts mir::Statement size to 40 bytes while the Miri interpreter gains critical Unix syscall coverage with gethostname, poll, and futimens support.
The biggest compiler win overnight is a memory optimization [1] that shrinks mir::Statement from 48 to 40 bytes, a meaningful reduction for anyone holding large MIR representations in memory. The same rollup included documentation fixes for AtomicU128/AtomicI128 availability [2] and improved diagnostics for const operations [1]. On the interpreter side, Miri's been filling gaps in its syscall coverage: gethostname now works across Linux/BSD/macOS with proper target-specific behavior [5], poll() syscall support landed [6] for file descriptor readiness, and File::set_times now works via futimens [7]. Two additional compiler improvements landed around resolver arena optimization [3] and delegation's Self type mapping for non-first arguments [4], both addressing known performance and ergonomic pain points. The crates.io frontend continues steady dependency updates [8], [9], [10] while the registry itself ticks forward with crate index updates [11], [12], [13], [14], [15].
Action items
- → Review mir::Statement memory optimization [ref:6] if you work on MIR analysis or codegen rust-lang/rust [monitor]
- → Update Miri if testing Unix syscall behavior; gethostname, poll, and futimens now shimmed [ref:11], [ref:13], [ref:15] rust-lang/miri [plan]
- → Merge pending crates.io dependency updates before next registry release rust-lang/crates.io [plan]
References
- [1] Rollup of 14 pull requests ↗ rust-lang/rust
- [2] Include AtomicU128/AtomicI128 in docs for any target ↗ rust-lang/rust
- [3] Resolver: Wrap arenas in `WorkerLocal` ↗ rust-lang/rust
- [4] delegation: support `Self` mapping adjustments for non-first arguments ↗ rust-lang/rust
- [5] shims: add a shim for gethostname ↗ rust-lang/miri
- [6] Add `poll` shim ↗ rust-lang/miri
- [7] Support File::set_times via futimens shim ↗ rust-lang/miri
- [8] Update dependency @types/node to v24.13.3 ↗ rust-lang/crates.io
- [9] Update dependency pnpm to v11.11.0 ↗ rust-lang/crates.io
- [10] Update dependency svelte-check to v4.7.2 ↗ rust-lang/crates.io
- [11] Update crate `smix-sdk` rust-lang/crates.io-index
- [12] Update crate `smix-host-coord-resolver` rust-lang/crates.io-index
- [13] Update crate `hisi-fwpkg` rust-lang/crates.io-index
- [14] Update crate `smix-driver` rust-lang/crates.io-index
- [15] Update crate `smix-runner-client` rust-lang/crates.io-index