Announcing Rust 1.99.1
Rust 1.99.1 is a point release fixing three regressions. LLVM's loop-idiom-wcslen pass could emit calls to `wcslen` on targets lacking it, breaking UEFI builds using `std`, so compiler-builtins now provides a fallback. FFI functions returning `bool` on x86_64 could leave bits 1-7 of the return register unspecified; the return type is again marked for zero-extension as the ABI requires. `rust-lld` on macOS could fail to load libLLVM when invoked without the rustup proxy and now carries an rpath entry for libLLVM.dylib.
Related posts
- Announcing Rust 1.99.0
Rust Blog mediumAdept
Rust 1.99.0 stabilizes defining C-ABI variadic functions in Rust using `...`, typed as `VaList` (ABI-compatible with C `va_list`) with readable types gated by the `VaArgSafe` trait. It also stabilizes `Layout::for_value_raw`, `mem::size_of_val_raw` and `mem::align_of_val_raw`, settling the safety rules for getting size and alignment from raw pointers to unsized types. The `Box::leak` docs now recommend against later deallocating leaked memory because it interacts badly with compiler optimizations and upcoming custom allocators, so `Box::into_raw` or `Box::into_non_null` should be used instead. Other stabilized APIs include `Vec::into_parts`/`from_parts`, `String::from_utf8_lossy_owned` and `std::fs::set_times`.
- C ABI Changes for `wasm32-unknown-unknown` | Rust Blog
Rust Blog mediumAdept
Rust is switching the `extern "C"` ABI on `wasm32-unknown-unknown` from a legacy non-standard definition to the WebAssembly tool-conventions C ABI, which changes generated binaries. The key difference is that the legacy ABI "splats" by-value structs into separate wasm parameters, while the standard ABI passes them indirectly through linear memory. wasm-bindgen was already fixed, but other projects still rely on the old behavior. To check exposure, build with nightly-2025-03-27 or later, watch for the new future-incompat warning (stable in 1.87.0), and test with `-Zwasm-c-abi=spec`. Affected projects can pin the compiler, adopt the spec ABI on nightly, or stop passing structs by value (e.g. pass `&Pair`) before the legacy flag is removed around summer 2025.
- Fearless SIMD v1.0 is here
Linebender easyNovice
Fearless SIMD v1.0 is a Rust crate for SIMD with no ad-hoc unsafe code. Its safety rests on two small audited building blocks: a kernel! macro that uses target feature v1.1 to call intrinsics without unsafe, and a safe transmute module that covers loads and stores. It provides portable abstractions with precise and fast variants for platform-divergent edge cases, native-width vectors, and zero-overhead safe drop-down to intrinsics. A new #[simd] macro handles function multiversioning without inline(always) tuning. v1.0 comes with three years of security updates and is meant to complement std::simd, not compete with it.
- Announcing Stable V8 Bindings for Rust
Deno mediumAdeptRusty V8, Deno's zero-overhead Rust bindings to V8's C++ API, is now stable and skips 1.0 to align with Chrome versioning, starting at 129.0.0. The crate integrates V8's build into Cargo and supports custom runtimes, WebAssembly, the V8 Inspector, the Fast API and cppgc garbage collection. Rust's scope-tied `Local<T>` handles catch invalid handle use at compile time, which C++ embedders must manage by hand. The major version bumps every 4 weeks with each V8 upgrade, so breaking changes follow semver and land only alongside V8 updates.
- Porting the Solana eBPF JIT compiler to ARM64
Trail of Bits hardMasterSolana's RBPF JIT compiler, which translates eBPF smart contracts to native code on validators, was ported from x86-only to ARM64, and its x86 backend gained Windows support. The port rewrote the register map, calling convention, shared subroutines (address translation, exceptions, indirect calls, instruction metering) and per-opcode translations. ARM64's fixed 4-byte instructions mean immediates often need several instructions, and the M1 enforces 16-byte stack alignment where QEMU does not. Running the port under MSAN exposed an uninitialized-memory bug: unsafe code read a Rust enum discriminant that was only a u8, so 7 bytes of stack garbage landed in JIT code and weakened its code-reuse mitigations. The fix adds #[repr(u64)] and layout tests, and both new targets remain behind feature gates until reviewed.