Skip to content

SpiderMonkey upgrade details

Josh Matthews edited this page May 6, 2014 · 18 revisions

Latest revision: 5ecd532a167e

Grab latest SpiderMonkey source:

cd ~/mozilla-central
make -C objdir/js/src source-package
cd ~/servo/src/support/mozjs
rm -rf .
cp ~/mozilla-central/objdir/mozjs-31.0.1.tar.bz2 .
tar xvjf mozjs-31.0.1.tar.bz2 --strip 1

Port non-upstreamed patches forward:

bindgen only supports C, and not only is jsapi.h full of C++, it includes lots of very C++y other headers. Good luck.

Clone this wiki locally