We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem
cargo test panics when the -p spec is malformed.
cargo test
Steps
https://github.com/barafael/smbus-slave-state-machine
cargo test -p /home/ra/smbus-slave-state-machine-rs#smbus-slave-state-machine:0.1.0
cargo test -p file:///home/ra/smbus-slave-state-machine-rs#smbus-slave-state-machine:0.1.0
Possible Solution(s)
This is the line that panics: https://docs.rs/vkcargo/0.45.1/src/cargo/core/package_id_spec.rs.html#234
Notes I am not sure this is a problem, but decided to report anyway because I think unwrap on a None value shouldn't happen.
Output of cargo version: cargo 1.50.0-nightly (75d5d8c 2020-12-22) cargo 1.48.0 (65cbdd2 2020-10-14) nightly-x86_64-unknown-linux-gnu
cargo version
The text was updated successfully, but these errors were encountered:
0f3f47e
Successfully merging a pull request may close this issue.
Problem
cargo test
panics when the -p spec is malformed.Steps
https://github.com/barafael/smbus-slave-state-machine
cargo test -p /home/ra/smbus-slave-state-machine-rs#smbus-slave-state-machine:0.1.0
cargo test -p file:///home/ra/smbus-slave-state-machine-rs#smbus-slave-state-machine:0.1.0
Possible Solution(s)
This is the line that panics:
https://docs.rs/vkcargo/0.45.1/src/cargo/core/package_id_spec.rs.html#234
Notes
I am not sure this is a problem, but decided to report anyway because I think unwrap on a None value shouldn't happen.
Output of
cargo version
:cargo 1.50.0-nightly (75d5d8c 2020-12-22)
cargo 1.48.0 (65cbdd2 2020-10-14)
nightly-x86_64-unknown-linux-gnu
The text was updated successfully, but these errors were encountered: