-
Notifications
You must be signed in to change notification settings - Fork 771
Description
Part of #1455
ring
ships optimized assembly implementations for x86 and ARM. The generic C/Rust fallback implementations used on other architectures also need to be tested, and the test coverage needs to be measured. These targets can easily be run on Github Actions via user-mode QEMU; the blocker is of the lack profiler builtins support on most non-tier-1 architectures.
It has been recently enabled on s390x, and in fact enabling profiler builtins is really trivial - you just add a flag, test that it works, and open a PR: rust-lang/rust#104304
But s390x is big-endian; we also need a little-endian test target. The obvious choice for this is little-endian POWER8, or as Rust calls it powerpc64le-unknown-linux-gnu
. But testing that profiler-builtins actually work requires either access to POWER hardware or a complex cross-compilation setup.