rust-mobile / cargo-subcommand

Library for implementing cargo subcommands
6 stars 6 forks source link

subcommand: Listen to CARGO_(BUILD_)TARGET_DIR over cwd #4

Closed MarijnS95 closed 3 years ago

MarijnS95 commented 3 years ago

If this environment variable is set it should be used over the current or workspace directory.

Fixes: https://github.com/rust-windowing/android-ndk-rs/issues/102

dvc94ch commented 3 years ago

Thanks!

dvc94ch commented 3 years ago

Published as 0.4.8

MarijnS95 commented 3 years ago

@dvc94ch Oops, just realized that if target does not exist std::fs::canonicalize and dunce::canonicalize will return an Err!

Fixed in #5.