Home Blog RSS

Testing the crate root

I woke up last weekend, and someone assigned me to a PR to review. That's quite common. It fixed a crash with attributes, something I've worked a lot on. Some code crashed the compiler, but the code to reproduce it used a specific nightly feature called "contract attributes", and I didn't believe that that was the only way to reproduce the crash. So, I tried to see if any currently stable attribute would the same so the reproducer was more general. It turned out: I was wrong! But playing with it I found a complely new way to crash the compiler in a single line of code.

Author:
jdonszelmann's github avatar jdonszelmann
Published: 2025-10-28
rust maintenance

Deprecated on re-exports

Deprecated is an attribute you can put on items to mark them as, well, deprecated. Any use of that item will give a warning, telling you that you're using something that's deprecated. The thing is, it doesn't always work...

Author:
jdonszelmann's github avatar jdonszelmann
Published: 2025-10-28
rust maintenance

Maintaining the Rust compiler

The rust compiler is a giant project. Hundreds of contributors help maintain it. I consider myself quite lucky that this maintenance work has become my full time job. Most of that time though, isn't spent to work on new language features, though there is a bit of that. In fact, most maintenance is barely visible to users of the language. So what does maintaining the compiler look like?

Author:
jdonszelmann's github avatar jdonszelmann
Published: 2025-10-28
rust maintenance