cargo ndk build, provides envs like: ANDROID_PLATFORM, ANDROID_ABI for build.rs, but cargo ndk-env does not.
Use case: rust-analyzer executes build.rs of crates, and if script depend on these envs, it would fail.
Ideally cargo ndk-env would provide 1 to 1 copy of env, which cargo.rs sets for cargo Command (maybe that is completely wrong approach).
cargo ndk build, provides envs like: ANDROID_PLATFORM, ANDROID_ABI for build.rs, butcargo ndk-envdoes not.Use case: rust-analyzer executes build.rs of crates, and if script depend on these envs, it would fail.
Ideally
cargo ndk-envwould provide 1 to 1 copy of env, which cargo.rs sets forcargoCommand (maybe that is completely wrong approach).