-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
A-console-outputArea: Terminal output, colors, progress bar, etc.Area: Terminal output, colors, progress bar, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-runCommand-testE-easyExperience: EasyExperience: EasyS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Description
I spoke with someone recently who had some trouble figuring out how to run Cargo-built binaries directly, until they realized that cargo run sets LD_LIBRARY_PATH, which is not documented. When running cargo run -v, cargo shows the binaries it runs, but not the setting of LD_LIBRARY_PATH. Please include that in the emitted command line invocations (e.g. LD_LIBRARY_PATH=... target/release/...) when using -v, to make it more obvious what cargo run does.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-console-outputArea: Terminal output, colors, progress bar, etc.Area: Terminal output, colors, progress bar, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-runCommand-testE-easyExperience: EasyExperience: EasyS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review