Skip to content

Allow hyphens in cdylib names #9038

Open
@pbor

Description

hypens are currently allowed in binaries, but not allowed in libraries: #1443

It would be great if cdylibs could be treated like binaries, since for that case it is sometimes important to have control of the resulting filename.

In particular when trying to replace an existing .so with a rust implementation, you need to be able to generate the same filename expected by the programs loading the library.

Metadata

Assignees

No one assigned

    Labels

    A-cargo-targetsArea: selection and definition of targets (lib, bins, examples, tests, benches)C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-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