bors[bot] e7b8e6fbca
Merge #8819
8819: Use package root as `cargo check` working directory r=matklad a=bcully

Cargo commands are affected by the `.cargo/config` files above
their working directory. If cargo is invoked from above the directory
holding `Cargo.toml`, it may not pick up important settings like
registry replacements, causing it to behave differently or even fail.

Most cargo invocations are currently setting their working directories
to the directory containing `Cargo.toml`, but a couple of paths remain
in which cargo is invoked from the default workspace root instead.

This change fixes that, resolving some cargo check failures that I
experienced in a multi-root workspace in which packages used different
registries.

Co-authored-by: Brendan Cully <brendan@cully.org>
2021-05-14 17:15:21 +00:00
..
2021-05-13 20:38:56 +00:00
2021-05-14 06:42:10 +08:00
2021-05-12 14:49:43 +00:00
2021-05-14 17:47:16 +08:00
2021-05-10 20:10:59 +00:00
2021-05-14 16:40:11 +03:00
2021-05-08 23:14:08 +02:00
2021-05-06 20:12:15 +03:00
2021-05-14 20:00:35 +03:00