The Wire · Showcase
RUST-ANALYZER FIXES CONSTEVAL ERRORS AND RUSTC_PRIVATE SUPPORT
By RepoJournal · Filed · About Rust
Rust-analyzer stops returning misleading None values when const evaluation fails, aligning more closely with rustc's error handling strategy.
Rust-analyzer landed a critical fix that returns proper error constants to the solver when consteval fails [1], rather than incorrectly reporting None for cases like 32-bit architecture mismatches. The same commit also fixed rustc_private support for rustc_proc_macro [2], addressing integration issues with private compiler APIs. Both fixes rolled into the nightly release [3]. On the ecosystem side, crates.io bumped shiki to v4.4.3 [4] and futures-util to v0.3.34 [5], keeping the JavaScript and Rust dependency stacks current. Meanwhile, the compiler team merged 23 pull requests including stabilization work on allocators [6], f128 support on LLVM 23+, and a critical performance fix for the unic-ucd crate by avoiding fully_perform_locally with the next solver [7]. A PowerPC inline ASM fix corrected scalar float lane positioning on little-endian systems [8]. Across all desks, 89 commits and 26 PRs shipped in the last 24 hours.
One email a day. Unsubscribe in one click.
Keep up with Rust in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Update rust-analyzer to nightly for consteval and rustc_private fixes rust-lang/rust-analyzer [plan]
- → Review PowerPC inline ASM behavior if targeting ppc64le systems rust-lang/rust [monitor]
- → Bump futures-util to 0.3.34 in crates.io dependencies rust-lang/crates.io [plan]
References
- [1] fix: Return an error const to the solver when consteval fails ↗ rust-lang/rust-analyzer
- [2] Fix rustc_private support for rustc_proc_macro rust-lang/rust-analyzer
- [3] nightly ↗ rust-lang/rust-analyzer
- [4] Update shiki monorepo to v4.4.3 ↗ rust-lang/crates.io
- [5] Update Rust crate futures-util to v0.3.34 ↗ rust-lang/crates.io
- [6] Rollup of 23 pull requests ↗ rust-lang/rust
- [7] stop using fully_perform_locally with the next solver, it's worse (perf fix for unic-ucd) ↗ rust-lang/rust
- [8] PowerPC inline ASM: Fix scalar floats being in the wrong vector lane on little endian ↗ rust-lang/rust