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

Migrate rvalue and coercion module to use StableMIR #2938

Merged
merged 6 commits into from
Dec 13, 2023

Conversation

celinval
Copy link
Contributor

This migration was fairly straight forward, most constructs have a 1:1 map from internal APIs to StableMIR APIs. I've also removed the is_coroutine() and the is_box() methods from ty_stable, since they were added to the StableMIR APIs together with other type methods here: rust-lang/rust#118846.

Call-outs

I'm publishing this PR as a draft till we update the toolchain to nightly-2023-12-13, since we need rust-lang/rust#118846.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@celinval celinval requested a review from a team as a code owner December 12, 2023 19:16
@celinval celinval marked this pull request as draft December 12, 2023 19:16
@github-actions github-actions bot added the Z-BenchCI Tag a PR to run benchmark CI label Dec 12, 2023
Copy link
Contributor

@adpaco-aws adpaco-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @celinval ! Looks good to me, please resolve the pending comments after the toolchain has been updated. Happy to take another look then if you want me to.

@celinval celinval marked this pull request as ready for review December 13, 2023 02:33
@celinval celinval enabled auto-merge (squash) December 13, 2023 02:34
@celinval celinval merged commit a7c239e into model-checking:main Dec 13, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants