mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
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:
parent
017d4d5cdf
commit
9871aad8ea
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user