Skip to content

x test doesn't work for absolute paths #126765

Closed
@oriongonza

Description

@oriongonza
Contributor
❯ x test    /home/ardi/repos/rust/tests/ui/impl-trait/precise-capturing/unexpected-token.rs
Building bootstrap
   Compiling build_helper v0.1.0 (/home/ardi/repos/rust/src/tools/build_helper)
   Compiling bootstrap v0.0.0 (/home/ardi/repos/rust/src/bootstrap)
    Finished `dev` profile [unoptimized] target(s) in 7.20s
Updating submodule src/tools/cargo
fatal: ref HEAD is not a symbolic ref
Submodule path 'src/tools/cargo': checked out '3ed207e416fb2f678a40cc79c02dcf4f936a21ce'
ERROR: no `test` rules matched ["/home/ardi/repos/rust/tests/ui/impl-trait/precise-capturing/unexpected-token.rs"]
HELP: run `x.py test --help --verbose` to show a list of available paths
NOTE: if you are adding a new Step to bootstrap itself, make sure you register it with `describe!`
Build completed unsuccessfully in 0:00:08

Activity

added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jun 20, 2024
added
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
and removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jun 23, 2024
added a commit that references this issue on Jun 23, 2024

Rollup merge of rust-lang#126782 - mtilda:mtilda/patch/x-test-with-ab…

92af670
added a commit that references this issue on Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jieyouxu@oriongonza@rustbot

      Issue actions

        `x test` doesn't work for absolute paths · Issue #126765 · rust-lang/rust