Oh I forgot about the PR_LoadLibraryWithFlags call in JS shell code. We
should make that optional too...

Jan

On Tue, Jun 4, 2019 at 10:18 AM Jan de Mooij <jdemo...@mozilla.com> wrote:

> 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 <j...@joshmatthews.net>
> 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
>>
>
_______________________________________________
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

Reply via email to