Skip to content

Multi-crate tests cannot share auxiliary modules #2162

Closed
@lht

Description

@lht

The multi-crate testing is very easy to use, while it's also tempting to reuse the auxiliary modules. It seems this could lead race issue. One aux crate could be truncated by another parallel test runner compiling the same aux module.

We need document the restriction, or detect and fail with a good message, or even better, supports module reuse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions