Skip to content

Add uninit intrinsic and use it in libcore/libstd - #6354

Merged
bors merged 4 commits into
rust-lang:incomingfrom
Aatch:uninit-intrinsic
May 9, 2013
Merged

Add uninit intrinsic and use it in libcore/libstd#6354
bors merged 4 commits into
rust-lang:incomingfrom
Aatch:uninit-intrinsic

Conversation

@Aatch

@AatchAatch commented May 9, 2013

Copy link
Copy Markdown
Contributor

Adds an uninit intrinsic.

It's just an empty function, so llvm optimizes it down to nothing.

I changed all of the init intrinsic usages to uninit where it seemed appropriate to.

@Aatch

Aatch commented May 9, 2013

Copy link
Copy Markdown
ContributorAuthor

This should close #4204 and related.

bors added a commit that referenced this pull request May 9, 2013
Adds an `uninit` intrinsic.
It's just an empty function, so llvm optimizes it down to nothing.
I changed all of the `init` intrinsic usages to `uninit` where it seemed appropriate to.
@borsbors closed this May 9, 2013
@bors
bors merged commit 414970c into rust-lang:incomingMay 9, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 20, 2020
…ip1995
Downgrade the await holding lints from correctness
We found a false positive in these lints (see rust-lang/rust-clippy#6353 for more details). As a short-term mitigation, this downgrades the lints from correctness to limit the noise.
changelog: downgrade AWAIT_HOLDING_REFCELL_REF and AWAIT_HOLDING_LOCK to pedantic. From rustup earlier, where I forgot the changlog: deprecate [`panic_params`] (uplifted)
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6354: Add tracing to main rust-analyzer binary r=flodiebold a=flodiebold
This makes `CHALK_DEBUG` logging work again e.g. when running `analysis-stats`, which is very helpful for debugging.
This change shouldn't regress compile times at all. The reason for that is that chalk-solve already pulls in these crates, and while that's behind a feature (mostly for our benefit, I think) we never actually disabled that feature 😅 So alternatively, we could disable the feature and maybe get an improvement in compile times. In my test I just did to see the impact of that, this PR actually compiled faster than the one just removing tracing though, so it's probably not a big deal.
Co-authored-by: Florian Diebold <florian.diebold@freiheit.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

@Aatch@graydon@bors