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 Miri CI Job #972

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add Miri CI Job #972

wants to merge 3 commits into from

Conversation

gierens
Copy link
Member

@gierens gierens commented May 6, 2024

Miri is an interpreter for Rust's intermediate representation and can detect
certain undefined behavior, like out-of-bounds accesses and use-after-frees
in unsafe blocks for example. This adds a CI job that runs the test suite
with Miri.

Note: the cli_tests are excluded for now because Miri cannot properly run
them right now.

@gierens gierens requested a review from cafkafk as a code owner May 6, 2024 21:42
Copy link
Member

@cafkafk cafkafk left a comment

Choose a reason for hiding this comment

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

This sounds cool, I think we should try it :)

The CI seems to be failing, after that's fixed I think this should be fine to merge.

@gierens
Copy link
Member Author

gierens commented May 7, 2024

That's pretty strange because it runs locally, und miri seems to be complaining that compilation fails, weird ... I'll have to look into this a little more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

2 participants