Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: add _android-ci-activity feature to select NativeActivity class
Normally an application crate based on android-activity should specify the Activity class they are using via the "native-activity" or "game-activity" features. The choices are mutually exclusive with no default and the android-activity crate will emit a `compiler_error()` if no class has been chosen. It's important that Winit (and other middleware crates that may link against android-activity) do not impose a default class choice, considering that cargo features are additive. For CI to be able to compile Winit standalone this adds a private `_android-ci-activity` feature that will select the NativeActivity class as if building an application crate.
- Loading branch information