Add path prefixes back when compiling clippy_dev and lintcheck

This commit is contained in:
Alex Macleod 2024-08-07 16:37:05 +00:00
parent 5ead90f13a
commit 8225f2a793

View File

@ -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"]