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

Remove uses of mem::uninitialized() from cloudabi #63546

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

tesuji
Copy link
Contributor

@tesuji tesuji commented Aug 14, 2019

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 #62397

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 14, 2019
@RalfJung
Copy link
Member

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?

@xen0n
Copy link
Contributor

xen0n commented Aug 14, 2019

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...

@tesuji tesuji changed the title Remove uses of mem::uninitialized() from clouldabi Remove uses of mem::uninitialized() from cloudabi Aug 14, 2019
@alexcrichton
Copy link
Member

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.

Copy link
Member

@RalfJung RalfJung left a 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)

@bors
Copy link
Contributor

bors commented Aug 15, 2019

☔ The latest upstream changes (presumably #63534) made this pull request unmergeable. Please resolve the merge conflicts.

@RalfJung
Copy link
Member

@lzutao force-pushes don't trigger notifications, so please let the reviewer know when you did them so that they can take another look.

@RalfJung
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Aug 15, 2019

📌 Commit 6e8639a has been approved by RalfJung

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 15, 2019
Centril added a commit to Centril/rust that referenced this pull request Aug 15, 2019
…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
Centril added a commit to Centril/rust that referenced this pull request Aug 15, 2019
…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
bors added a commit that referenced this pull request Aug 15, 2019
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
@bors
Copy link
Contributor

bors commented Aug 15, 2019

☔ The latest upstream changes (presumably #63592) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 15, 2019
@bors bors merged commit 6e8639a into rust-lang:master Aug 15, 2019
@tesuji tesuji deleted the clouldabi-maybeuninit branch August 15, 2019 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants