[SERVER-57711] Remove usemozjs flag in favor of js-engine != none Created: 15/Jun/21  Updated: 29/Oct/23  Resolved: 13/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Daniel Moody Assignee: Tausif Rahman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2022-05-02, Dev Platform 2022-05-16
Participants:

 Description   

Through out the build scripts, there are usemozjs flags, but really they are dependent on the jsengine being there or not.

 

We should remove this flag in instead more concise check the --js-engine flag.

 

Also we should look into libraries which depend specifically on the js engine, and if they should be using the abstracted scripting library or directly linking to the mozjs scripting engine.



 Comments   
Comment by Githook User [ 12/May/22 ]

Author:

{'name': 'Tausif Rahman', 'email': 'tausif.rahman@mongodb.com', 'username': 'trahman1318'}

Message: SERVER-57711 Remove usemozjs flag in favor of js-engine != none
Branch: master
https://github.com/mongodb/mongo/commit/7f574fb632c18e96a4dc6df88c476b9b68da4980

Generated at Thu Feb 08 05:42:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.