From:  Jan de Mooij <>
Date:  04 Jun 2019 16:18:32 Hong Kong Time

Re: Can SpiderMonkey build without NSPR on Windows?


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 for this.


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