-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Remove uses of mem::uninitialized()
from cloudabi
#63546
Conversation
This looks good other than the nits, but I know nothing about CloudABI. @alexcrichton can I just r+ this when it looks reasonable, or what do we do with exotic platforms? |
Before it's too late, let's fix the typo in the commit message and PR title, should one day people grep the revision log for archaeology... |
1883b89
to
d5bedf5
Compare
mem::uninitialized()
from clouldabimem::uninitialized()
from cloudabi
Yes this is fine to r+ when ready, the maintainer (@EdSchouten) has been cc'd so we can wait a bit for them to take a look but otherwise we don't strictly review these platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me any time (but I think there will be conflicts when #63534 lands)
☔ The latest upstream changes (presumably #63534) made this pull request unmergeable. Please resolve the merge conflicts. |
d5bedf5
to
b49c0db
Compare
@lzutao force-pushes don't trigger notifications, so please let the reviewer know when you did them so that they can take another look. |
b49c0db
to
6e8639a
Compare
@bors r+ |
📌 Commit 6e8639a has been approved by |
…fJung Remove uses of `mem::uninitialized()` from cloudabi This PR removes uses of `mem::uninitialized` from `cloudabi` module, excluding the layout test in `src/libstd/sys/cloudabi/abi/cloudabi.rs`. r? @RalfJung cc @EdSchouten cc rust-lang#62397
…fJung Remove uses of `mem::uninitialized()` from cloudabi This PR removes uses of `mem::uninitialized` from `cloudabi` module, excluding the layout test in `src/libstd/sys/cloudabi/abi/cloudabi.rs`. r? @RalfJung cc @EdSchouten cc rust-lang#62397
Rollup of 9 pull requests Successful merges: - #63155 (Add UWP MSVC targets) - #63165 (Add builtin targets for mips64(el)-unknown-linux-muslabi64) - #63306 (Adapt AddRetag for shallow retagging) - #63467 (Add Catalyst (iOS apps running on macOS) target) - #63546 (Remove uses of `mem::uninitialized()` from cloudabi) - #63572 (remove unused Level::PhaseFatal) - #63577 (Test HRTB issue accepted by compiler) - #63582 (Fix ICE #63226) - #63586 (cleanup: Remove `Spanned` where possible) Failed merges: r? @ghost
☔ The latest upstream changes (presumably #63592) made this pull request unmergeable. Please resolve the merge conflicts. |
This PR removes uses of
mem::uninitialized
fromcloudabi
module,excluding the layout test in
src/libstd/sys/cloudabi/abi/cloudabi.rs
.r? @RalfJung
cc @EdSchouten
cc #62397