Skip to content

fitzgen/mozjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the sources of SpiderMonkey for use with Servo.

The bindings are in the rust-mozjs repository.

Upgrading

In order to upgrade to a new version of SpiderMonkey:

  1. Download the tarball corresponding to the desired mozilla-central commit from treeherder's SM-tc(pkg) job.
  2. Update etc/COMMIT.
  3. Run python3 ./etc/update.py path/to/tarball.
  4. Clone and build the servo/rust-bindgen repository with llvm 3.9 or newer.
  5. Clone the servo/rust-mozjs repository.
  6. For each supported platform (linux 32, linux 64, macos 64, windows gcc and msvc 64):
    • $ cd path/to/rust-mozjs
    • $ ./etc/bindings-all.py <platform> ../path/to/bindgen ../path/to/clang/libs

About

Servo's SpiderMonkey fork

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 42.9%
  • JavaScript 31.6%
  • Python 9.8%
  • C 9.3%
  • HTML 1.3%
  • WebAssembly 1.2%
  • Other 3.9%