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

cargo-insta: fix --manifest-path <virtual-workspace> #409

Merged
merged 1 commit into from Oct 7, 2023

Commits on Oct 6, 2023

  1. cargo-insta: fix --manifest-path <virtual-workspace>

    Prior to this change --manifest-path only worked properly if it pointed
    to the root of a non-virtual workspace.
    
    Rewrite all the cargo interaction to use cargo-metadata which crucially
    provides `Metadata::resolve::root` which is used to determine which
    package --manifest-path was pointing to.
    
    https://doc.rust-lang.org/cargo/reference/workspaces.html#virtual-workspace
    tamird committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    07f7e78 View commit details
    Browse the repository at this point in the history