-
Notifications
You must be signed in to change notification settings - Fork 118
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
feat: add MOZJS_MIRROR
and MOZJS_CREATE_MIRROR
env variables
#443
Conversation
This also move libjsapi.a to the same place as jsapi.rs in $OUT_DIR/build
This commit adds two env variables for mozjs-sys build script. MOZJS_CREATE_MIRROR can create a spidermonkey tarball for release usage. While MOZJS_MIRROR can use this tarball to download and link the static libraries without compiling spidermonkey and bindgen wrappers.
This is the next step to push #439. This is still a draft because #409 hasn't been merged yet. And I haven't decided where to put the tarball yet either. |
Why don't we just use uncompressed files instead of taring them, like rusty_v8 is doing? |
rusty_v8 only has one |
Please let me close this draft since my fork isn't actually forked from this repo which cause a bit inconvenience. |
Blocked by #409
This PR adds two env variables for mozjs-sys build script.
MOZJS_CREATE_MIRROR
can create a spidermonkey tarball for release usage. WhileMOZJS_MIRROR
can use this tarball to extract and link the static libraries without compiling spidermonkey and bindgen wrappers.