Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Usage of cargo's target-dir not consistent with cargo for relative paths #1745

Open
dhardy opened this issue Aug 21, 2021 · 0 comments
Open

Comments

@dhardy
Copy link

dhardy commented Aug 21, 2021

My Cargo config looks like this:

$ cd $HOME
$ cat .cargo/config 
[build]
target-dir = ".cache/cargo"

Cargo resolves this to $HOME/.cache/cargo. Interpretation of relative paths within config files is detailed here.

When using RLS, I get the following within my project directory:

$ ls .cache/cargo/
CACHEDIR.TAG  rls

RLS's interpretation of this is here.

Related: #1167 #527

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant