Skip to content

documentation request: what does cargo install do to build that cargo build doesn't? #15739

@bwo

Description

@bwo

Problem

I just encountered a very puzzling issue where cargo build would successfully build a binary but cargo install would fail during linking (specifically the linker would complain about not being able to find a name only defined in ssl3). Presumably different flags are being passed at some point, somewhere … but what? Even running cargo build in the project directory, then leaving it to run cargo install, would do a partial rebuild (and would fail).

Proposed Solution

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-installS-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