Bug 1610149 - let x86-64 Mac enable wasm sandboxing; r=firefox-build-system-reviewers,rstewart

Everything that we need is supported on Mac, too.

Depends on D62799

Differential Revision: https://phabricator.services.mozilla.com/D62800

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nathan Froyd 2020-02-13 23:40:13 +00:00
parent 017d4d5cdf
commit 9871aad8ea

View File

@ -1925,9 +1925,9 @@ def wasm_sandboxing(libraries, target):
# Wasm sandboxing is only enabled on specific targets.
if not (target.cpu in ('x86_64',) and \
target.kernel == 'Linux' and \
target.os != 'Android'):
die('wasm sandboxing is only enabled on x86-64 Linux')
(target.kernel == 'Linux' and target.os != 'Android') or \
target.kernel == 'Darwin'):
die('wasm sandboxing is only enabled on x86-64 Linux and Mac')
return namespace(**{name: True for name in libraries})