Backed out changeset 4e4bb8d1cdd2 (bug 1804548) for causing py failures. CLOSED TREE

This commit is contained in:
Sandor Molnar 2022-12-08 03:19:17 +02:00
parent 7e77466f48
commit bcbc79bd5d

View File

@ -2389,14 +2389,8 @@ option(
)
@depends("--with-wasm-sandboxed-libraries", target, host)
def requires_wasm_sandboxing(libraries, target, host):
if target.kernel == "WINNT" and host.kernel == "WINNT" and target.cpu != host.cpu:
# Bug 1741233
die(
f"Wasm sandboxing is not supported yet when building for {target.cpu} on {host.cpu} Windows. "
"Please use --without-wasm-sandboxed-libraries for now."
)
@depends("--with-wasm-sandboxed-libraries")
def requires_wasm_sandboxing(libraries):
if libraries:
return True