Skip to content

Build scripts are difficult to run in a debugger #5637

Closed as not planned
Closed as not planned
@jdm

Description

@jdm

The output of Cargo has a path to the actual binary that is invoked every time a build script is run. That's useful, but there's not output showing all of the environment variables that are set that the build script may expect to be present. This makes it very difficult to launch the build script under a debugger and replicate the conditions of the Cargo build in order to investigate something that isn't working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build-scriptsArea: build.rs scriptsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions