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

Safety: Run tests with miri #215

Open
Lorak-mmk opened this issue Dec 4, 2024 · 0 comments
Open

Safety: Run tests with miri #215

Lorak-mmk opened this issue Dec 4, 2024 · 0 comments

Comments

@Lorak-mmk
Copy link
Collaborator

miri is Rust's built-in undefined behavior detection tool: https://github.com/rust-lang/miri
To increase safety of the project by reducing undefined behavior, we should run our tests with it.

Sadly, it is not possible to use it with FFI, so we can't run our C++ test suite with it. We can however run our Rust tests, which will be a motivation to write more of them, and perhaps port the C++ tests later.

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

No branches or pull requests

1 participant