Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was 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

@dhardy

Description

@dhardy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions