Skip to content

Conversation

@LebedevRI
Copy link
Collaborator

It seems, on android the argument is narrower than on linux. Let's try to support that while not introducing any explicit lossy casts.

Fixes #1982

It seems, on android the argument is narrower than on linux.
Let's try to support that while not introducing any explicit lossy casts.

Fixes google#1982
@dmah42 dmah42 merged commit f921cfb into google:main May 12, 2025
135 of 136 checks passed
@SunBlack
Copy link
Contributor

SunBlack commented May 12, 2025

I've experimented with it a bit now, but haven't really been successful.

The bugfix itself works (see microsoft/vcpkg#45475). I then tried to find out somehow where the issue really comes from, but debugging against the vcpkg-CI just takes a long time and locally CMake ignores the request to cross-compile with Android. But it's not worth investing any more time for me now.

In case someone has more experience and wants to play with it: The Android Dockerfile is available here (the image vcpkgandroidwus.azurecr.io/vcpkg-android:2025-04-08 can unfortunately not be used without authentication).

@LebedevRI LebedevRI deleted the android-personality branch May 12, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] BENCHMARK_ENABLE_WERROR: implicit conversion loses integer precision

3 participants