Skip to content

Commit

Permalink
Bug 1662668: Test for the presence of a simulator when enabling Crane…
Browse files Browse the repository at this point in the history
…lift; r=lth

Differential Revision: https://phabricator.services.mozilla.com/D89109
  • Loading branch information
bnjbvr committed Sep 2, 2020
1 parent 9e380dd commit 3a76055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/moz.configure
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ set_define('MOZ_RUST_SIMD', rust_simd)

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

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

0 comments on commit 3a76055

Please sign in to comment.