RalfJung / cargo-careful

Execute Rust code carefully, with extra checking along the way
Apache License 2.0
373 stars 15 forks source link

`cargo careful nextest` does not work #35

Open larseggert opened 2 weeks ago

larseggert commented 2 weeks ago
$ cargo +nightly careful --help
fatal error: `cargo careful` supports the following subcommands: `run`, `test`, `build`, `nextest`, and `setup`.

but then

$ cargo  +nightly careful nextest
Preparing a careful sysroot (target: aarch64-apple-darwin)... done
error: unexpected argument '--config' found

  tip: a similar argument exists: '--config-file'

Usage: cargo nextest <--config-file <PATH>|--tool-config-file <TOOL:ABS_PATH>|--override-version-check> <COMMAND>

For more information, try '--help'.

Same for cargo +nightly careful nextest run.

I'll note that cargo +nightly careful test works fine.

RalfJung commented 2 weeks ago

Thanks for the report! It is supposed to work, and I think I tested it at some point, but we don't have it on CI so apparently it got broken.