Skip to content

Add a way to tell rustpkg not to install all the crate files in a package #8892

Description

@catamorphism

@metajack pointed out that a library might have a main crate, and then a src/examples directory containing lots of subdirectories with main.rs files. If you rustpkg install, you probably don't want to install the example programs. Maybe we could add another "magic" filename for files we want to build but not install. Or maybe there's another solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions