about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.cargo/config.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 7afdd068a99..ce07290d1e1 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -13,6 +13,13 @@ target-dir = "target"
 
 [unstable]
 binary-dep-depinfo = true
+profile-rustflags = true
 
 [profile.dev]
 split-debuginfo = "unpacked"
+
+# Add back the containing directory of the packages we have to refer to using --manifest-path
+[profile.dev.package.clippy_dev]
+rustflags = ["--remap-path-prefix", "=clippy_dev"]
+[profile.dev.package.lintcheck]
+rustflags = ["--remap-path-prefix", "=lintcheck"]