-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cargo-apk: Use
min_sdk_version
to select compiler target (#197)
According to [1] minSdkVersion is used to determine the compiler target and ultimately limit what API is available at compile-time. This is for the most part because using/linking newer API will result in runtime linker errors on these older platforms. In other words, using the target sdk version which (as of writing, but that will change in the near future too) defaults to the highest version supported by the detected SDK makes it impossible to detect compatibility issues (symbols that are unavailable) with your app on older Android APIs despite setting min_sdk_version. [1]: https://developer.android.com/ndk/guides/sdk-versions#minsdkversion
- Loading branch information
Showing
2 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters