rust/crates
Brendan Cully c4664609ed Use package root as cargo check working directory
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.
2021-05-12 19:50:52 -07:00
..
base_db Add one more profiling span to add_dep 2021-04-22 21:48:17 +03:00
cfg internal: expose cfg attrs from hir::Crate 2021-05-07 23:50:24 +03:00
flycheck Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
hir Correctly support SelfType when searching for usages 2021-05-08 22:34:55 +02:00
hir_def Merge #8398 2021-05-11 19:01:39 +00:00
hir_expand Remove delimiters from proc macro input 2021-05-12 01:01:51 +02:00
hir_ty Merge #8799 2021-05-12 14:49:43 +00:00
ide Merge #8799 2021-05-12 14:49:43 +00:00
ide_assists Merge #8802 2021-05-12 14:42:01 +00:00
ide_completion Merge #8794 2021-05-10 20:10:59 +00:00
ide_db Give MergeBehaviour variants better names 2021-05-10 21:14:59 +02:00
ide_ssr
mbe Merge #8560 2021-04-18 02:14:27 +00:00
parser Add = to pattern recovery 2021-05-08 23:14:08 +02:00
paths Clearer naming 2021-04-06 16:22:26 +03:00
proc_macro_api Replace memmap to memmap2 in proc_macro_api 2021-05-03 20:20:47 -04:00
proc_macro_srv Fix parse u128 bug in proc-macro 2021-03-31 19:50:36 +08:00
proc_macro_test
profile Use package renaming so source doesn't say tikv 2021-05-07 12:41:07 -07:00
project_model Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
rust-analyzer Fix build script dependencies 2021-05-12 14:48:26 +02:00
stdx internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
syntax simplify 2021-05-10 15:25:56 +03:00
test_utils internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
text_edit
toolchain
tt
vfs Avoid duplicating VfsPath in vfs::path_interner::PathInterner by using an IndexSet 2021-04-06 16:03:57 +03:00
vfs-notify