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

RLS creates metadata directory in root of the project instead of target/ #864

Closed
mkpankov opened this issue May 14, 2018 · 3 comments · Fixed by rust-lang/vscode-rust#316

Comments

@mkpankov
Copy link

Hi,

RLS suddenly started creating rls/ directory in root of project instead of target/. I have root directory open in VS Code. There are no specific settings in Cargo.toml. These are my Rust-related user settings in VS Code:

{
    "rust-client.channel": "nightly",
    "rust-client.revealOutputChannelOn": "warn",
}

and these are workspace settings:

{
    "rust-client.logToFile": true
}

Logs are empty and output channel isn't revealed.

This happens only in 1 of my projects. Unfortunately I can't easily share complete source of the project.

RLS version is:

rls-preview 0.127.0-nightly (d2ade31 2018-05-08)
@kjeremy
Copy link

kjeremy commented May 14, 2018

I'm seeing this too with today's nightly.

@jpeddicord
Copy link

Not to "me too", but I see this in a workspace-enabled project (Cargo workspace, not VS Code workspace).

@jonasbb
Copy link
Contributor

jonasbb commented May 14, 2018

This is not a RLS bug, but a rls-vscode one. This problem was introduced with rust-lang/vscode-rust#312, which rolled out in version 0.4.3.

Changing the setting "rust.target_dir" to "target/rls" should fix it.

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

Successfully merging a pull request may close this issue.

4 participants