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

Add opt-in compatibility tests #10

Merged
merged 35 commits into from
Jul 23, 2024
Merged

Add opt-in compatibility tests #10

merged 35 commits into from
Jul 23, 2024

Conversation

fasterthanlime
Copy link
Contributor

@fasterthanlime fasterthanlime commented Jul 23, 2024

crates can invoke the compatibility_check macro and check (on load) that the rustc version matches, the target matches, and any cfg features passed in also match.

cf #9

@fasterthanlime
Copy link
Contributor Author

Looks pretty good!

CleanShot 2024-07-23 at 13 22 27@2x

@fasterthanlime
Copy link
Contributor Author

Looking even better (I reworked the copy + grabbed the so/binary name for more helpful diagnostics):

CleanShot 2024-07-23 at 18 36 14@2x

@fasterthanlime
Copy link
Contributor Author

fasterthanlime commented Jul 23, 2024

More bikeshedding:

CleanShot 2024-07-23 at 20 22 55@2x

@fasterthanlime fasterthanlime merged commit 14a7591 into main Jul 23, 2024
3 checks passed
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.

1 participant