Skip to content

Option for whether lib.rs should be rebuilt after build.rs is rerun #1422

Closed
@daboross

Description

@daboross

Currently, whenever build.rs is re-run, both lib.rs and main.rs get rebuilt. It would be useful if there were some option to only rebuild main.rs after build.rs is rerun, not both. This wouldn't want to be the default behaviour, as most build scripts will affect content in lib.rs, but some will only affect main.rs, and an option for that would be nice.

This isn't that urgent, and it may not actually want to be built, but it would probably be useful.

This would probably depend on #1162.

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