Weihang Lo
Weihang Lo
Thanks for the report! Does it share the same root cause with ? Looks a bit similar.
The feature resolution path is slightly different between `cargo tree` and `cargo check`. That could be the reason. I'll keep this open for `cargo check`, and #10593 for `cargo tree`.
Thanks for the report. Have you tried [source replacements] with either directory sources or local registry sources? Here are their filesystem hierarchy respectively: - https://doc.rust-lang.org/nightly/nightly-rustc/cargo/sources/directory/struct.DirectorySource.html - https://doc.rust-lang.org/nightly/nightly-rustc/cargo/sources/registry/local/struct.LocalRegistry.html [source replacements]: https://doc.rust-lang.org/nightly/cargo/reference/source-replacement.html
> Why there is no a simplest Source, which just like how the majority package manager do? Sorry. I don't know really know the answer. Adding a new kind of...
> Should we use `cargo::rust_2024_compatibility` group or should we key off of `rust::rust_2024_compatibility` group? What is the advantage of that? I can think of a better coherent view of lints....
> Is it safe to say that we should add a, e.g. `json: bool` or `output_format: OutputFormat` in [CompileMode::Doc](https://github.com/rust-lang/cargo/blob/928b9561c16e73fca6206b42e4c464b80b0e9221/src/cargo/core/compiler/build_config.rs#LL180C5-L180C8) so we can determine whether the fingerprint should look for `index.html`...
@ehuss do you have any input on adding a new field on `CompileMode::Doc`? Is there any better alternative?
Ping @charmitro. Just checking in to see if you are still interested in working on this, or if you had any questions. @rustbot author
Great job! Thanks a lot for the collaboration :) @bors r+
@charmitro Could you add a new doc entry of for this feature? You can take this as a reference: https://github.com/rust-lang/cargo/pull/10383/commits/4e45f58852313e3dde5f617e2c26bbda5e9437c1#diff-e35cef716988e9f7122a9c90479aa9204e61d1f41b094c0d183a44e0ca271eaaR83-R469 I've created the tracking issue here