Skip to content
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

Allow the user to set their own GC callback #115

Merged
merged 1 commit into from Oct 24, 2014
Merged

Conversation

@kmcallister
Copy link
Contributor

kmcallister commented Oct 24, 2014

No description provided.

jdm added a commit that referenced this pull request Oct 24, 2014
Allow the user to set their own GC callback
@jdm jdm merged commit 1823dde into servo:master Oct 24, 2014
tschneidereit pushed a commit to tschneidereit/rust-mozjs that referenced this pull request Aug 26, 2017
Make it compile for Android x86 (i686)

For Android x86 the `ANDROID_NDK` environment variable isn't passed
on correctly. Without this change it's not possible to compile the
`mozjs_sys` crate for Android x86, it would fail with:

    Reexecuting in the virtualenv
    checking for a shell... /bin/sh
    checking for host system type... x86_64-pc-linux-gnu
    checking for target system type... i686-pc-linux-android
    checking for the Android toolchain directory... not found
    ...
    configure: error: not found. Please check your NDK. With the current configuration, it should be in /platforms/android-9/arch-x86

With this change it's possible to compile it successfully for Android
x86 with:

    PATH=$PATH:<x86-toolchain>/bin ANDROID_NDK=<android-ndk-r12b> cargo build --target i686-linux-android --verbose

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/115)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.