Hi everyone! I've finally finished a pre-RFC for a solution to the problem raised in issue #73632. Thanks to everyone listed in the acknowledgements for very helpful feedback. Feel free to comment with your thoughts on this proposal! RFC: Stabilize a version of the rlib format … | Continue reading
Recently there have been a number of vulnerabilities reported due to unsynchronized access to environment variable APIs such as getenv(3) or setenv(3), the latter of which is marked as MT-Unsafe const:env by glibc. Some examples: RUSTSEC-2020-0071: potential segfault in the ti … | Continue reading
In this design meeting there was a discussion about the syntax to use for returning early with an error. The considered keywords were fail, throw, raise, yeet. I couldn't find any more recent discussion. 💡💡 Essentially, this is syntactic sugar for Err(...)?, exce … | Continue reading
After a week-end of work storage-poc now contains generic implementations of: alternative storage, which uses either the first or the second storage, one at a time. fallback storage, which uses either the first or the second storage, both at the same time. I took the opportu … | Continue reading
(copying what I said on the library team mailing list) Wow, Alex, I'm so sad to see you go! Well, I know you'll still be around, but still. Your leadership on the libs team will certainly be missed. With that said, I'm happy for you that you're prioritizing your needs. 🙂 … | Continue reading
Recently, @withoutboats challenged me to demonstrate a hypothetical version of Pin with different guarantees, and show how it would be sound. However, while working on that, I stumbled upon unsoundness in the actual Pin. I haven't seen this reported before, though I could have … | Continue reading
Patrick Walton proposed the idea of a "left-pad index": I went ahead and crunched the numbers for crates.io, surveying the top 500 crates by recent downloads, dividing that number by the crate size, and coming up with the following results: Per Patrick, here are some good … | Continue reading
I'm happy to announce that Josh Triplett will be joining me as co-lead of the lang team. As co-leads, our job is to represent the lang team to the rest of the project, as well as to work to ensure its overall "organizational health". Josh first came to the attention of the lang … | Continue reading
Good Friday to you all! Recently landed in nightly is the ability for Cargo to execute rustc in a “pipelined” fashion which has the promise of faster build times across the ecosystem. This support is turned off by default and the Cargo team is interested to gather more data and i … | Continue reading
The Syntax discussion thread seems to have been overwhelmed with comments. So I created a form to allow everyone to register their approval or lack there of to various existing alternatives without having to spam the thread. I will aggregate the submissions and post the results … | Continue reading
Hi everyone! The infrastructure team started investigating new CI providers for the rust-lang/rust repository a few months ago, and we wanted to post an update on the work we’ve been doing. We’re grateful to all the providers that posted on the initial thread and we investigate … | Continue reading
At last week’s language team meeting, we discussed the await syntax again and reached a tentative consensus about a timeline for a final decision as well as a concrete proposal for what syntax we think we are most likely to accept. I describe the timeline, the syntax, and the rea … | Continue reading
In the last week or so, the points has been made multiple times that Rust could never unseat C because it just was not portable enough. This is indeed a fair point, rustc is currently bound to LLVM which supports much less platforms than C compilers do. There are two initiative … | Continue reading
Tame Complexity through Community Involvement Tools Edit: I’d just like to say that I think 2018 has been a great year for rust. Rereading this, I realize may have come off as a little negative. End edit. Rust has a “big” problem. Our feedback loops have gotten big because we … | Continue reading
Hello everyone, It is my pleasure to announce that we have now entered the final countdown for Rust 2018. We’ve just issued a new beta that is chock full of updates and we would dearly love people to spend some time testing it before we announce the final release (which takes pl … | Continue reading
Edition RC1 Hey everyone! In accordance with the Rust 2018 release schedule, it’s time for the release of the first release candidate for Rust 2018. To try out Rust 2018 RC1, install the beta toolchain: > rustup install beta > rustc +beta --version rustc 1.30.0-beta.2 (7a0062e … | Continue reading
Hey everyone! Recently I’ve been looking for vulnerabilities in unsafe code in Rust and trying to rewrite unsafe code in popular crates as safe without degrading performance. My goal with the rewrite attempts was not to try to fix the entire ecosystem single-handedly, but to ide … | Continue reading
So lately I’ve been having separate conversations that all seem to be swirling about a central theme, and I wanted to try and bring those different threads together onto one thread. Goals It’s hard for me to clarify what this thread is about. I’m going to use the sort of generic … | Continue reading
Today marks another milestone toward Rust 2018: we’re announcing the 2018 Edition Preview 2 . Like the last preview, this is an alpha-quality preview of Rust 2018 intended for testing and feedback. It is only available on the nightly release channel. Compared to Preview 1, we’ve … | Continue reading
No more nightly updates that break clippy. No more manually cargo install clippy. You can finally get the latest in annoying/helpful static analyses on a nightly near you in just 3 easy steps: rustup update rustup component add clippy-preview cargo clippy Note that if you carg … | Continue reading
The Rust teams having been working hard to implement features of the 2018 edition. Today we have reached an important milestone: we are announcing that we have an alpha-quality preview of the 2018 edition ready for testing and feedback. The preview presents a great opportunity f … | Continue reading