Bug 1784092 - Part 2: Enable change-array-by-copy build option by default on Nightly. r=mgaudet

This only enables the build option, which allows to actually run any tests in CI.

Depends on D154267

Differential Revision: https://phabricator.services.mozilla.com/D154268
This commit is contained in:
André Bargull 2022-08-12 15:22:17 +00:00
parent 437553873a
commit 40c109ec7b

View File

@ -1136,14 +1136,17 @@ set_define("_WASI_EMULATED_GETPID", True, when=is_wasi_target)
# Enable change-array-by-copy
# ===================================================
def use_change_array_by_copy():
return False
@depends(milestone.is_nightly)
def use_change_array_by_copy(is_nightly):
return is_nightly
option(
"--enable-change-array-by-copy",
default=use_change_array_by_copy(),
help="{Enable|Disable} change-array-by-copy method pref/command-line option (disabled by default)",
default=use_change_array_by_copy,
help="{Enable|Disable} change-array-by-copy method pref/command-line option (disabled by default in Release-or-Beta)",
)