Skip to content

cargo ndk-env does not export ANDROID_PLATFORM, ANDROID_ABI #198

@MabaKalox

Description

@MabaKalox

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions