Failed to run tests in `raw_vec`

Hi,

I try to run unit tests in raw_vec, but it failed below. Is it a issue to report or something wrong with my comamnd?

./x.py test library/alloc/src/raw_vec/tests.rs

Building rustbuild
    Finished dev [unoptimized] target(s) in 3.16s
error: no `test` rules matched ["library/alloc/src/raw_vec/tests.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:11

Did you follow the help suggestion:

help: run `x.py test --help --verbose` to show a list of available paths

If you did, you might decide to try the following command:

./x.py test library/alloc --test-args raw_vec

Good luck!

1 Like

Thanks, it works that way!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.