forked from gnzlbg/jemallocator
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross compilation error #81
Comments
Android >= 21 seems to include the declaration of |
This may introduce unstable feature |
Not necessary. The function can be put into a C file and be built by build script. |
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problems encountered
Compile
aarch64-linux-android
binary on linux.Specify profile as release, and it will compile normally.
However, if
lto = "thin"
is specified, an error will be reported. The details are as follows:How to reproduce
main.rs
Cargo.toml
ANDROID_NDK_HOME
environment variable.cargo ndk --platform 23 -t aarch64-linux-android build --profile release
is ok.cargo ndk --platform 23 -t aarch64-linux-android build --profile nightly
is wrong.I tried removing this part of the code and it works fine.
The text was updated successfully, but these errors were encountered: