|
Hi, I'm having some trouble to correctly check the MSRV specify in a subproject, in particular I have a CLI that use cargo msrv as a subprocess, and to test the CLI there are some example project inside [package]
name = "version_mismatch"
version = "0.1.0"
edition = "2021"
rust-version = "1.80.0"if I do this: cd test_projects/rust/version_mismatch
cargo msrv find --output-format minimalthe output is cp -r test_projects/rust/version_mismatch ../
cd ../version_mismatch
cargo msrv find --output-format minimalthe output is |
Replies: 1 comment 5 replies
|
How are the projects sublocated? Are they both in a Cargo workspace or is the sub project in a sub folder, but not in the workspace? |
I can confirm that moving the test projects in temporary directories before testing the CLI actually solve the problem, thanks again for the suggestion!