Skip to content

Commit

Permalink
Bug 1883921 - wasm: Let js-string-builtins be built on beta/release. …
Browse files Browse the repository at this point in the history
…r=bvisness

Differential Revision: https://phabricator.services.mozilla.com/D203841
  • Loading branch information
eqrion committed Mar 12, 2024
1 parent f9c21fe commit 0a0ff5f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions js/moz.configure
Original file line number Diff line number Diff line change
Expand Up @@ -759,20 +759,14 @@ set_define("ENABLE_WASM_GC", wasm_gc)
# ==========================================


@depends(milestone.is_nightly)
def default_wasm_js_string_builtins(is_nightly):
if is_nightly:
return True


option(
"--enable-wasm-js-string-builtins",
default=default_wasm_js_string_builtins,
"--disable-wasm-js-string-builtins",
default=True,
help="{Enable|Disable} WebAssembly JS String Builtins",
)


@depends("--enable-wasm-js-string-builtins", "--wasm-no-experimental")
@depends("--disable-wasm-js-string-builtins", "--wasm-no-experimental")
def wasm_js_string_builtins(value, no_experimental):
if no_experimental or not value:
return
Expand Down

0 comments on commit 0a0ff5f

Please sign in to comment.