Skip to content

Failes when [lib] section included in Cargo.toml #422

@Enduriel

Description

@Enduriel

adding

[lib]
crate-type = ["cdylib", "rlib", "staticlib"]

to the Cargo.toml of a crate inside my workspace makes flamegraph unable to recognize the crate as a valid target, it just gives the error

Error: crate has no automatically selectable target:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions