Skip to content

Move libtest out of tree #59775

Open
Open
@Manishearth

Description

@Manishearth

See: https://internals.rust-lang.org/t/a-path-forward-towards-re-usable-libtest-functionality-custom-test-frameworks-and-a-stable-bench-macro

An attempt for moving libtest out of tree was made in #57842 , however it broke clippy in weird ways that involve interactions with the rustc build system.

It has been reverted in #59766 so that the beta is fixed in time.

We should still work towards making this happen.

A potential plan is to:

  • Continue to improve http://github.com/rust-lang/libtest/
  • Migrate compiletest-rs to using http://github.com/rust-lang/libtest/, on pure stable
  • Make sure rustc compiletest and compiletest-rs match
  • Update clippy, miri to use new compiletest-rs, ensure this works within the rustc build system
  • Update rustc compiletest to be compiletest-rs (optional, but nice to have)
  • Update rustc libtest to reexport libtest

thoughts? @gnzlbg @xales

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-enhancementCategory: An issue proposing an enhancement or a PR with one.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