ndk icon indicating copy to clipboard operation
ndk copied to clipboard

`cargo-apk`: Parse and act on commandline arguments before finding and panicking on incomplete workspace

Open MarijnS95 opened this issue 3 years ago • 0 comments

When running commands such as cargo apk help or the upcoming cargo apk version, which should run anywhere and don't depend on the workspace in $PWD, cargo-apk still exits with a rather useless error message:

Error: Didn't find Cargo.toml

We should refactor cargo-subcommand to drop this workspace requirement for commands that don't need it. More details on fixing this in https://github.com/rust-windowing/android-ndk-rs/issues/182#issuecomment-926548594.


@dvc94ch Does this description supersede https://github.com/rust-windowing/android-ndk-rs/issues/182?

MarijnS95 avatar Jan 24 '22 08:01 MarijnS95