From:  Jan de Mooij <jdemooij@mozilla.com>
Date:  04 Jun 2019 16:18:32 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.tech.js-engine.internals
Subject:  

Re: Can SpiderMonkey build without NSPR on Windows?

NNTP-Posting-Host:  63.245.210.105

It's possible to build SpiderMonkey without depending on NSPR with
--enable-posix-nspr-emulation, this uses the implementation in
js/src/vm/PosixNSPR.{h,cpp} However these days we only depend on NSPR for
memory mapped files in Wasm code (note that the PosixNSPR versions just
crash because this API, JS::DeserializeWasmModule, is only used in the
browser). We should either just remove the NSPR dependency completely or
allow using PosixNSPR on all platforms.

I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1556646 for this.

Thanks,
Jan

On Tue, Jun 4, 2019 at 12:52 AM Josh Matthews  wrote:

> If I remember correctly, there were at least attempts to remove NSPR from
> the build on some platforms. Is that still possible on Windows in
> particular?
>
> Cheers,
> Josh
> _______________________________________________
> dev-tech-js-engine-internals mailing list
> dev-tech-js-engine-internals@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals
>