Skip to content

RFE: add option to specify path to Cargo.lock #5707

Closed
@ignatenkobrain

Description

@ignatenkobrain

In Fedora we package all crate sources (including tests) in /usr/share/cargo/registry which is not user-writable. However, we would like to run tests for them after installation. There is already option for target-dir and it would be very nice to get option to put Cargo.lock in some other directory so that we could run cargo test from there.

Metadata

Metadata

Assignees

Labels

A-lockfileArea: Cargo.lock issuesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions