Skip to content

Test generic C implementations on a little-endian target on CI #1564

@Shnatsel

Description

@Shnatsel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions