Weihang Lo
Weihang Lo
### What does this PR try to resolve? New `-Ztrim-paths` remap rules for git/registry dependencies: * Git dependencies: remove ~/.cargo/git/checkouts prefix. * Registry dependencies: remove ~/.cargo/registry/src prefix. This make the...
This is part of https://github.com/rust-lang/cargo/issues/12137 As of 6982b443cf438732f6652c798bff9244d77f753c, the remap of `-Ztrim-paths` is relatively simple. It follows what is described in [RFC 3127](https://rust-lang.github.io/rfcs/3127-trim-paths.html#trim-paths-implementation-in-cargo): > For the the current package (where...
### What does this PR try to resolve? `CARGO_TARGET__RUSTDOCFLAGS` was accidentally accepted somehow, so support both config and env officially, given that removing env support would be a breaking change....
### Summary RFC: [#3013] Original issue: [rust-lang/rust#82450](https://github.com/rust-lang/rust/issues/82450) Documentation: - https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg - https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#cargorustc-check-cfgcheck_cfg This tracks the integration of rustc `--check-cfg` flag ([RFC #3013][#3013]), which enables complete or partial checking of conditional...
### What does this PR try to resolve? External subcommands are already able to inherit the jobserver from env since https://github.com/rust-lang/cargo/pull/10511. However, users reported that they've expected `cargo run` to...
### Please complete the following tasks - [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions) - [X] I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues ### Rust Version rustc 1.72.0-beta.11 (7a3a43a3b 2023-08-18)...
[rendered](https://github.com/weihanglo/cargo/blob/version-bump/CHANGELOG.md)
### Summary Original issue: #1171. See also #11813 Implementation: #13252 Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#git `-Zgit` is a collection of new Git features in Cargo. Currently we have experiments on * Shallow clones...
### What does this PR try to resolve? An unstable `-Zpatch-files` flag is added to support patching your dependencies with patch files, with the patchtool you configure in `[patchtool]` config...
### What does this PR try to resolve? Protect standard library source from being fixed by `cargo fix`. This is a bug in rustc, which it shouldn't have given any...