Skip to content

libtest: utilize jobserver #48532

Open
Open
@ishitatsuyuki

Description

@ishitatsuyuki

Tests are normally CPU consuming tasks, and we can transparently utilize jobserver to achieve efficient core utilization.

Some usecases I can think of:

  • Tests which may spawn threads (including rustc codegen-units, but not limited to)
  • Using a parent make somewhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions