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.

RLS and the compiler keep rebuilding after each other #803

Closed
rust-lang/rust
#49587
@sbstp

Description

@sbstp

I'm working on a project with a fairly long compile time and it seems like the RLS and the compiler disagree on the artifacts, I'll compile from the command line with cargo build and open up VS Code only to see VS code rebuild everything. After VS Code has rebuilt, the next cargo build rebuilds everything again.

I'm using Rust nightly with the latest vscode and I have no settings set for the RLS, so everything is set to default.

The RLS extension says the version is 0.4.1, here's other environment info:

$ rustup show
Default host: x86_64-unknown-linux-gnu

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.26.0-nightly (517f24025 2018-03-31)
$ code --version
1.21.1
79b44aa704ce542d8ca4a3cc44cfca566e7720f1
x64
$ uname -a
Linux debbie 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux

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