Weihang Lo

Results 766 comments of Weihang Lo

If anyone is interested in helping this go stabilized, please share your benchmark results for `-Zchecksum-freshness` on [this Zulip topic](https://rust-lang.zulipchat.com/#narrow/channel/334885-t-cargo.2Fbuild-integration/topic/Call.20for.20testing.3A.20use.20of.20checksums.20over.20mtime), or in #14722.

Maybe some sub-table like ```toml [cache.global] auto-clean-frequency = "1 day" ``` And someday later we got #5931 and #13061, we can expand to fine-grained control when needed. ```toml [cache.global] #...

@amab8901 it is just a placeholder because it hasn't yet implemented

See future extensions in the PR description.

Have you looked at [`[http]`](https://doc.rust-lang.org/nightly/cargo/reference/config.html?highlight=http#http) table specifically [`http.proxy`](https://doc.rust-lang.org/nightly/cargo/reference/config.html?highlight=http#httpproxy)? That helps set up an HTTP proxy. Also, please include a clear description, the reproduction steps, and your environment information.

## Porting progress - [x] tests/testsuite/advanced_env.rs #14031 - [x] tests/testsuite/alt_registry.rs #14031 - [x] tests/testsuite/artifact_dep.rs #14048 - [x] tests/testsuite/artifact_dir.rs #14048 - [x] tests/testsuite/bad_config.rs #14048 - [x] tests/testsuite/bad_manifest_path.rs #14048 - [x] tests/testsuite/bench.rs...

@henry40408 would you mind removing `#[allow(deprecated)]` from memeber_discovery.rs?

Thanks for the detailed report! This seems mostly a duplicate of with a specific solution. There is also a proposal trying to scope a package under a set of target...

Not sure if we are on the same page. `cargo rustc --crate-type` is a flag for overriding only one compilation unit (your root crate). It's different from environment variable `RUSTFLAGS`....