Skip to content

rustc: Remove abi from ast::native_mod #1205

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

Closed
wants to merge 1 commit into from

Conversation

lht
Copy link
Contributor

@lht lht commented Nov 21, 2011

No description provided.

@marijnh
Copy link
Contributor

marijnh commented Nov 21, 2011

Thanks. Integrated.

@marijnh marijnh closed this Nov 21, 2011
coastalwhite pushed a commit to coastalwhite/rust that referenced this pull request Aug 5, 2023
* add vst neon instructions

* modify the instruction limit
celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
* Fix how we handle niche optimization with ZST

The compiler uses niche optimization when there is only one variant that
contains nonzero sized fields. This variant is represented as the
dataful variant. However, other variants may have one or more ZST fields
that can be deconstructed and referenced in the code.

Before this change, we were not generating code for them and it generate
type mismatch issues when the user tried to access them.

This change ensures that we represent all variants that have any field,
so their access is valid.

* Enable debug assert inside projection mismatch

We should probably turn this into an assert and revert the logic added
by model-checking/kani#1057. But this is a much
larger change that I prefer creating a separate PR for.

Co-authored-by: Zyad Hassan <[email protected]>
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.

2 participants