You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: new arg --cargo-config for passing --config to cargo
This is another step toward making opt-dist work in sandboxed environments.
`--cargo-config` is added to the following subcommands:
* `binary_stats compile`
* `bench_runtime_local`
* `bench_local`
* `profile_local`
The current rustc-perf uses `tempfile::Tempdir` as the working
directory when collecting profiles from some of these packages.
This "tmp" working directory usage make it impossible for Cargo to pick
up the correct vendor sources setting in `.cargo/config.toml` bundled
in the rustc-src tarball.
We can leverage [`cargo --config`][1] to specify additional Cargo's
configuration. Training data then could build with correct vendored
settings via the `--cargo-config` flag.
[1]: https://doc.rust-lang.org/nightly/cargo/commands/cargo.html#option-cargo---config
0 commit comments