Skip to content

Update make dependencies of librust - #6452

Closed
alexcrichton wants to merge 1 commit into
rust-lang:incomingfrom
alexcrichton:fix-deps
Closed

Update make dependencies of librust#6452
alexcrichton wants to merge 1 commit into
rust-lang:incomingfrom
alexcrichton:fix-deps

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

I changed the dependencies of librust in #6438, but I forgot to update the dependencies in the Makefile, this should have the dependencies right now.

bors added a commit that referenced this pull request May 13, 2013
I changed the dependencies of librust in #6438, but I forgot to update the dependencies in the Makefile, this should have the dependencies right now.
@borsbors closed this May 13, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 20, 2020
bump pinned nightly from nightly-2020-12-09 to nightly-2020-12-14
This should hopefully fix incremental compilation ICEs in rustc that I have encountered multiple times while working with the previously pinned nightly.
changelog: none
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6470: Restore semantic token flickering workaround removed in rust-lang#5697 r=kjeremy a=charlespierce
Closesrust-lang#6452 Info
-----
* As discussed in rust-lang#6452, the `Error('busy')` workaround for semantic token flickering was removed because the underlying issue was believed to be fixed in VS Code.
* It turns out that the fix isn't yet complete, so this caused flickering of the semantic highlighting when making rapid edits (e.g. typing quickly).
* This PR restores that workaround and makes it slightly more robust, covering all areas of semantic token middleware.
Changes
-----
* Added middleware functions for `provideDocumentSemanticTokens`, `provideDocumentSemanticTokensEdits`, and `provideDocumentRangeSemanticTokens` to match the 3 possible middleware hooks defined in https://github.com/microsoft/vscode-languageserver-node/blob/master/client/src/common/semanticTokens.ts#L33
* Each intercepts a `null` or `undefined` return and throws an error with the message `busy` instead, which prevents the tokens from being removed and re-added (causing the flickering behavior)
Tested
-----
* Tested locally that the flickering behavior is gone.
* There don't appear to be any significant tests of the VS Code plugin side of things, other than that it loads. Is there somewhere I can / should add tests to cover this behavior?
Co-authored-by: Charles Pierce <cpierce.grad@gmail.com>
Sign up for freeto 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.

3 participants

@alexcrichton@bstrie@bors