You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
See #1714 for context, but I suspect this can be repeated on even simple crates, they just build much faster so it's harder to tell.
(Just checked on another project I had handy, glOOF, and it also builds gloof cfg(test) on every change, can barely see it for a second in the status bar, but it's there - there might be a better way to confirm but I don't know how to get a proper log)
I'm not sure how this is happening, based on this (and the relevant Cargo code) I would expect it to "just" work:
This is confusing, I thought I could use [lib] test = false in Cargo.toml to remove cfg(test) targets, but that doesn't remove it?
Even weirder, it seems to build cfg(test)before the library itself, at least sometimes?
Is it possible "cfg(test)" doesn't come from Cargo as a string, and RLS is misinterpreting what Cargo is actually building?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See #1714 for context, but I suspect this can be repeated on even simple crates, they just build much faster so it's harder to tell.
(Just checked on another project I had handy,
glOOF
, and it also buildsgloof cfg(test)
on every change, can barely see it for a second in the status bar, but it's there - there might be a better way to confirm but I don't know how to get a proper log)I'm not sure how this is happening, based on this (and the relevant Cargo code) I would expect it to "just" work:
rls/rls/src/build/cargo.rs
Lines 214 to 227 in 581415c
EDIT:
"rust.build_lib": true
also doesn't seem to restrict the set of targets, but I'm not sure it does nothingThe text was updated successfully, but these errors were encountered: