-
Notifications
You must be signed in to change notification settings - Fork 318
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
cargo run requires --bin #166
Comments
Would be trivial to fix by adding a sub-crate for cargo-miri. Opinions? |
It seems subcrates are not built per default, so the instructions have to change to |
FWIW, I pushed "cargo-miri as a subcrate" to https://github.com/RalfJung/miri/tree/subcrate. However, due to the reasons stated above (in particular the installation part), I am doubtful whether that's really making things any better. |
I wonder it it would make sense to add a default binary setting to cargo.toml since I've seen this issue show up in a few projects now... |
You mean like this? rust-lang/cargo#2200 |
This got fixed by using the experimental |
I had to use
--bin
to specify which executable:This is because there's also a cargo-miri exe
The text was updated successfully, but these errors were encountered: