From:  Jim Blandy <jblandy@mozilla.com>
Date:  11 May 2016 23:40:13 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.tech.js-engine.internals
Subject:  

Re: Rust JSAPI bindings in js/src?

NNTP-Posting-Host:  63.245.214.181

On Wed, May 11, 2016 at 1:45 AM, Anthony Ramine  wrote:

> > Le 11 mai 2016 à 08:36, Jim Blandy  a écrit :
> > The SpiderMonkey engineers build the library separately from the rest of
> Firefox all the time; the "JS shell" is the preferred development vehicle.
> So we can trust that the stand-alone SM builds work. That means that the
> difficulties are specific to the process of producing an SM-only tarball.
>
> That's not exactly true: the final target of the JS shell is an
> executable, whereas we want a static library. That's not really what the SM
> developers use and that's why we have issues, AFAIK.


I think that shell executable is always linked against the static JS
library:

https://hg.mozilla.org/mozilla-central/file/1579b9e2e50f/js/src/shell/moz.build#l11

which matches the comments here:

https://hg.mozilla.org/mozilla-central/file/1579b9e2e50f/js/src/moz.build#l609