Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove flycheck -> LSP dependency #4460

Merged
merged 3 commits into from May 15, 2020
Merged

Conversation

matklad
Copy link
Member

@matklad matklad commented May 15, 2020

bors r+
馃

There should be only one place that knows about LSP, and that place is
right before we spit JSON on stdout.
@bors
Copy link
Contributor

bors bot commented May 15, 2020

@bors bors bot merged commit 05db35d into rust-lang:master May 15, 2020

#[derive(Debug)]
pub enum Status {
Being,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Begin?

@@ -300,15 +266,11 @@ fn run_cargo(
// erroneus output.
let stdout = BufReader::new(child.stdout.take().unwrap());
let mut read_at_least_one_message = false;

for line in stdout.lines() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might cause a regression with regards to how we handle junk output from stdout usage in build scripts, proc macros, etc, unless the issue has been fixed upstream.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, I see oli-obk/cargo_metadata#106 should address this issue! Awesome

@matklad matklad deleted the abstraction-boundary branch June 25, 2020 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants