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

ABI checks do not accept Option-"like" types #3983

Closed
RalfJung opened this issue Oct 21, 2024 · 1 comment · Fixed by rust-lang/rust#132057
Closed

ABI checks do not accept Option-"like" types #3983

RalfJung opened this issue Oct 21, 2024 · 1 comment · Fixed by rust-lang/rust#132057

Comments

@RalfJung
Copy link
Member

Recently we ratified the Option null-pointer guarantee to also apply to Option-like types. Miri should be adjusted to match that.

joboet added a commit to joboet/rust that referenced this issue Nov 7, 2024
…wiser

miri: update ABI compat checks to accept Option-like types

This implements the t-lang decision described [here](rust-lang#130628 (comment)).

Fixes rust-lang/miri#3983
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Nov 7, 2024
Rollup merge of rust-lang#132057 - RalfJung:miri-abi-compat, r=wesleywiser

miri: update ABI compat checks to accept Option-like types

This implements the t-lang decision described [here](rust-lang#130628 (comment)).

Fixes rust-lang/miri#3983
@RalfJung
Copy link
Member Author

RalfJung commented Nov 7, 2024

Fixed by rust-lang/rust#132057

@RalfJung RalfJung closed this as completed Nov 7, 2024
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 a pull request may close this issue.

1 participant