Skip to content

cargo package --list --manifest-path in a workspace prints only Cargo.lock on macos #10478

Closed
@konstin

Description

@konstin

Problem

While cargo cargo package --list itself works on all platforms and cargo package --list --manifest-path works on linux and windows, cargo package --list --manifest-path on mac in a workspace prints only Cargo.lock

I've made a reproducer where you can see the results for the three platforms in github actions: https://github.com/PyO3/maturin/runs/5535598729?check_suite_focus=true

Steps

cd /tmp
git clone https://github.com/RazrFalcon/resvg
cd resvg
cargo package --list
cd 
cargo package --list --manifest-path /tmp/resvg/Cargo.toml

Possible Solution(s)

No response

Notes

No response

Version

`rustc 1.59.0 (9d1b2106e 2022-02-23)` and `cargo 1.59.0 (49d8809dc 2022-02-10)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugCommand-packageS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions