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

Add the path to the manifest in json output #9022

Merged
merged 1 commit into from
Mar 4, 2021

Commits on Mar 4, 2021

  1. Add the path to the manifest in json output

    This allows consumers of the json messages to avoid guessing where
    exactly the package root is. Having access to the package root is
    difficult by virtue of requiring logic to guess its location by e.g.
    walking filesystem from the source file.
    
    This guessing logic becomes further complicated in presence of
    workspaces and nigh impossible to implement correctly in instances where
    artifacts end up produced from paths above the package root (e.g.
    `../foo.rs`).
    
    Since Cargo has access to this data in the first place, there doesn't
    seem to be much reason to force consumers to invent their own, possibly
    flawed, logic.
    nagisa committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    548300b View commit details
    Browse the repository at this point in the history