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

Run unit tests with Miri in CI #5

Open
twilco opened this issue Jan 16, 2020 · 0 comments
Open

Run unit tests with Miri in CI #5

twilco opened this issue Jan 16, 2020 · 0 comments

Comments

@twilco
Copy link
Owner

twilco commented Jan 16, 2020

Miri, an interpreter for Rust's mid-level intermediate representation (MIR), can detect certain types of undefined behavior in any Rust code it runs. We should use it when running the Kosmonaut test suite in CI. This should be as easy as:

  1. rustup component add miri
  2. cargo miri test

Unfortunately, Kosmonaut development and CI environments currently require nightly, and miri seems to often be unavailable in nightly. If/when we switch to stable, we can make this change.

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