Closed Bug 1668910 Opened 4 years ago Closed 4 years ago

Include Cranelift backend only for explicitly-acceptable architectures: x86-64 and arm64.

Categories

(Core :: JavaScript: WebAssembly, defect)

defect

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: cfallin, Assigned: cfallin)

References

Details

Attachments

(1 file)

In #1668398, we discovered that Cranelift is built even on architectures where it has no functioning backend. In that particular case, the neutral-sounding Cargo feature arm32 actually enabled an experimental, incomplete ARM32 backend that failed to build. We should avoid including Cranelift in the build unless we're on a platform with a known-working, fully-supported backend.

These two platforms are the only ones where Cranelift has a functioning
backend. It doesn't make sense to include Cranelift in the build
otherwise, and doing so may cause other issues or breakage.

Pushed by cfallin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fe06bfb5e8c6
don't enable Cranelift by default unless target is ARM64 or x86-64. r=lth
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: