cargo-ndk icon indicating copy to clipboard operation
cargo-ndk copied to clipboard

Allow specifying message format as an argument

Open blaind opened this issue 3 months ago • 1 comments

I'm using cargo-ndk as a rust-analyzer.check.overrideCommand in vscode.

As follows

cargo ndk check --message-format=json-diagnostic-rendered-ansi --keep-going

Currently, if the command would see any errors, the output would be captured and printed human-style.

This merge request checks, if user has overridden the message format. The printout is also selected to be json or formatted, depending on the argument. Based on list at https://doc.rust-lang.org/cargo/commands/cargo-check.html#display-options

blaind avatar Sep 21 '25 06:09 blaind

This would interfere with the message handling already implemented to determine what the output dependencies are, so requires more thought.

bbqsrc avatar Oct 31 '25 18:10 bbqsrc