ndk
ndk copied to clipboard
`cargo-apk`: Parse and act on commandline arguments before finding and panicking on incomplete workspace
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?