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

rustc_target::abi: add Primitive variant to FieldsShape. #70629

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

anyska
Copy link
Contributor

@anyska anyska commented Mar 31, 2020

Originally suggested by @eddyb.

@rust-highfive
Copy link
Collaborator

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 31, 2020
@bors
Copy link
Contributor

bors commented Apr 2, 2020

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

@eddyb
Copy link
Member

eddyb commented Apr 2, 2020

r? @oli-obk cc @RalfJung

@rust-highfive rust-highfive assigned oli-obk and unassigned eddyb Apr 2, 2020
@RalfJung

This comment has been minimized.

@oli-obk oli-obk 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-review Status: Awaiting review from the assignee but also interested parties. labels Apr 3, 2020
@anyska

This comment has been minimized.

@RalfJung
Copy link
Member

RalfJung commented Apr 3, 2020

@anyska well that is interesting, could you make it print the TyAndLayout that caused the failure?

Oh, I think I have an idea... since uninhabited enums still share the layout with !, we cannot have that assertion there yet. Never mind then. (We could have is_uninhabited() || matches!, maybe, but that is getting silly.)

@eddyb eddyb added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 4, 2020
@eddyb

This comment has been minimized.

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 9, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 9, 2020
rustc_target::abi: add Primitive variant to FieldsShape.

Originally suggested by @eddyb.
@RalfJung
Copy link
Member

Could this have caused #70966 (comment)?

@eddyb
Copy link
Member

eddyb commented Apr 10, 2020

@bors rollup=never (I can't see why this PR would do this but it's the only one in the rollup that should impact an assert like that)

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 10, 2020
rustc_target::abi: add Primitive variant to FieldsShape.

Originally suggested by @eddyb.
@Dylan-DPC-zz
Copy link

@bors p=1

@bors
Copy link
Contributor

bors commented Apr 11, 2020

⌛ Testing commit 15f8d89 with merge 2922f29bbcdde10237e4e2060c1326958a68af23...

@bors
Copy link
Contributor

bors commented Apr 11, 2020

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 11, 2020
@RalfJung
Copy link
Member

Yes this is definitely causing that ICE, at least on targets mips64-unknown-linux-gnuabi64, mips64el-unknown-linux-gnuabi64.

thread 'rustc' panicked at 'assertion failed: `(left == right)`
  left: `Direct(ArgAttributes { regular: (empty), pointee_size: Size { raw: 4 }, pointee_align: Some(Align { pow2: 2 }) })`,
 right: `Direct(ArgAttributes { regular: (empty), pointee_size: Size { raw: 0 }, pointee_align: None })`', <::std::macros::panic macros>:5:6

@eddyb
Copy link
Member

eddyb commented Apr 16, 2020

@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Apr 16, 2020

📌 Commit 8f081d5 has been approved by oli-obk

@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 Apr 16, 2020
@bors
Copy link
Contributor

bors commented Apr 17, 2020

⌛ Testing commit 8f081d5 with merge b2c1a60...

@bors
Copy link
Contributor

bors commented Apr 17, 2020

☀️ Test successful - checks-azure
Approved by: oli-obk
Pushing b2c1a60 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 17, 2020
@bors bors merged commit b2c1a60 into rust-lang:master Apr 17, 2020
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #70629!

Tested on commit b2c1a60.
Direct link to PR: #70629

💔 miri on windows: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung).
💔 miri on linux: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Apr 17, 2020
Tested on commit rust-lang/rust@b2c1a60.
Direct link to PR: <rust-lang/rust#70629>

💔 miri on windows: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung).
💔 miri on linux: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung).
@ehuss ehuss mentioned this pull request Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants