Skip to content

Commit

Permalink
Bug 1665028: Tweak the cranelift_default check for arm32 simulator; r…
Browse files Browse the repository at this point in the history
…=firefox-build-system-reviewers,rstewart

Differential Revision: https://phabricator.services.mozilla.com/D90827
  • Loading branch information
bnjbvr committed Sep 23, 2020
1 parent 07fcde1 commit af38fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/moz.configure
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,9 @@ set_define('MOZ_RUST_SIMD', rust_simd)
# Support for wasm code generation with Cranelift
# ==============================================================

@depends(milestone.is_nightly, target, simulator)
def cranelift_default(is_nightly, target, simulator):
if is_nightly or target.cpu == 'aarch64' or (simulator is not None and simulator.arm64):
@depends(milestone.is_nightly, target, simulator.arm64)
def cranelift_default(is_nightly, target, simulator_arm64):
if is_nightly or target.cpu == 'aarch64' or simulator_arm64:
return True

js_option('--enable-cranelift',
Expand Down

0 comments on commit af38fa9

Please sign in to comment.