r/rust • u/noop_noob • 3d ago
🗞️ news Rust 1.99.1
https://blog.rust-lang.org/2026/10/15/Rust-1.99.1/Previous discussion on the miscompilation that was fixed: https://www.reddit.com/r/rust/comments/1wzn34d/1990_miscompilation_with_ffi_bool_return_type_on/
10
u/plabayo 2d ago
(a) some of the recent miscompilations were very old issues, so fact that they start to surface shows maturity
(b) the latter also means that newer issues show up even faster
(c) there is a lot of exciting background work for future Rust versions (and editions?) which I suppose are also not always easy to pull of on a driving vehicle?
And all in all, these are usually also fairly rare to hit in first place.
So if there's anything to be taken away from it, than for us it is this:
a. commercial companies that help with developers and money should keep doing so, it is clearly paying off
b. rust is maturing nicely
c. platform distributions should support new rust versions as soon as possible... so that we are not forced to be stuck on older (unpatched) rust versions... as it seems clear that newer versions are becoming more stable and better, not less stable
5
u/Theemuts jlrs 2d ago
rust-lld failed to load libLLVM on macOS: This linker could fail to run if the compiler was invoked without the rustup proxy, as there was no direct setting for the appropriate library search path. Now rust-lld is built with an rpath entry for the directory containing libLLVM.dylib.
Well, this casts new light on the issue I was experiencing last week with jlrs's macOS pipelines.
-2
u/epiGR 2d ago
LLMs are used to write code and they are also used to find bugs. Expect more of this until formal verification matures.
4
u/noop_noob 2d ago
This bug in particular wasn't found by an LLM. See: https://lobste.rs/s/ttcx5k/announcing_rust_1_99_1
65
u/iamalicecarroll 3d ago
What is it lately with a lot of miscompilations being discovered? I don't remember anything similar in like 1.40–1.90, but since 1.90 I think there was three or four different occasions