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

Miri support #146

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Miri support #146

wants to merge 3 commits into from

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented May 23, 2022

Miri only works on Rust code - it can "see" neither C nor Objective-C code! But, if we had an Objective-C runtime written in Rust (something I've been considering doing for fun anyhow), and wrote a few shims for the most common objects, we could have something quite serviceable for testing the soundness (and other properties that Miri can check) of objc2 and crates using it.

Would be very useful to have for finding issues in our implementation (like in upstream SSheldon/rust-objc#112), but requires a lot of work, so probably isn't going to happen anytime soon, if at all.

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant