Please let us know if you run into any issues! Pending any detected regressions these are likely to be the exact artifacts that weāll release on Thursday.
What about rustfmt? Rust 1.23 included rustfmt and not cargo-fmt, and this was an unannounced secret feature. Is rustfmt fully ready now? If so, we should yell about it (and incremental compilation) from the mountaintops!
Hm, isnāt this the release of Cargo which changes the cwd of the compiler with various implications (https://github.com/rust-lang/cargo/pull/4788)? If so, this definitely should be mentioned in the release notes.
Thank you, @matklad . Never heard about cargo metadata command, cargo help 2>&1 | grep metadata is empty. May be lack of documentation about metadata and in general the way to fix this issue, make cargo/4998 so inconvenient.
It is sort of intentional that it is not present in --help output, because it is mainly for those implementing tools on top of Cargo, and not for the actual Cargo users themselves
Thereās certainly some miscommunication happening: I myself learned about the new workspace_root key in metadata relatively recently But I guess nightly/beta/stable trains and per-release testing work ok to discover such issues
Yes, I found it after look at your patch. But how should I guess that it exists?
I heard about it before, but I run cargo help and decide that this is experimental feature not available in stable.
What about rustfmt? Rust 1.23 included rustfmt and not cargo-fmt, and this was an unannounced secret feature. Is rustfmt fully ready now? If so, we should yell about it (and incremental compilation) from the mountaintops!
This release does include both cargo-fmt and rustfmt with the rustfmt-preview component. I'm not sure it's something to put in the release notes, but I'll ask @steveklabnik to include it in the blog post if we feel it's ready.
As for the cargo working directory change, I think we've decided to land this and deal with the breakage. It's unfortunate, but the Cargo team feels/felt that the breakage was warranted for the bug fix of no longer recompiling when we changed working directories. We'll continue pushing on the issues you mentioned, though, and it seems likely that by 1.26 they'll be ready to go (though no guarantees).
I agree that āfastest buildsā is ambiguous. The answer is that more codegen units should have faster compile times, but codegen-units=1 still has better runtime performance, tracked here.