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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MKFILE_DEPS to compiler-rt target #12263

Closed

Conversation

alexcrichton
Copy link
Member

Currently when you run make -jN it's likely that you'll remove compiler-rt and
then it won't get cp'd back into the right place. I believe the reason for this
is that the compiler-rt library target never got updated so make decided it
never needed to copy the files back into place. The files were all there at the
beginning of make, but then we may clean out the stage0 versions if we unzip
the snapshot again.

Closes #12268

Currently when you run `make -jN` it's likely that you'll remove compiler-rt and
then it won't get cp'd back into the right place. I believe the reason for this
is that the compiler-rt library target never got updated so make decided it
never needed to copy the files back into place. The files were all there at the
beginning of `make`, but then we may clean out the stage0 versions if we unzip
the snapshot again.
@flaper87
Copy link
Contributor

LGTM

@alexcrichton alexcrichton deleted the fix-compiler-rt-deps branch February 14, 2014 21:58
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
…ykril

feat: hide type inlay hints for initializations of closures

![hide_closure_initialization](https://user-images.githubusercontent.com/12008103/168470158-6cb77b18-068e-4431-a8b5-e2b22d50d263.gif)

This PR adds an option to hide the inlay hints for `let IDENT_PAT = CLOSURE_EXPR;`, which is a somewhat common coding pattern. Currently the inlay hints for the assigned variable and the closure expression itself are both displayed, making it rather repetitive.

In order to be consistent with closure return type hints, only closures with block bodies will be hid by this option.

Personally I'd feel comfortable making it always enabled (or at least when closure return type hints are enabled), but considering the precedent set in rust-lang#10761, I introduced an off-by-default option for this.

changelog feature: option to hide type inlay hints for initializations of closures
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 26, 2024
[`to_string_trait_impl`]: avoid linting if the impl is a specialization

Fixes rust-lang#12263

Oh well... rust-lang/rust-clippy#12122 (comment) 🙃

changelog: [`to_string_trait_impl`]: avoid linting if the impl is a specialization
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.

compiler-rt dependencies are not set up properly
3 participants