rust-lang / libc

Raw bindings to platform APIs for Rust
https://docs.rs/libc
Apache License 2.0
2.1k stars 1.04k forks source link

use `qemu-sparc64` to run sparc64 tests #4133

Closed folkertdev closed 12 hours ago

folkertdev commented 21 hours ago

fixes https://github.com/rust-lang/libc/issues/4061

Description

uses qemu-sparc64 to run the sparc64 tests. That is (for some reason) much faster than the test-runner-linux script that uses qemu-system-sparc64 under the hood. It runs the test suite locally in ~3 minutes, similar to the other targets.

I added some things to make this work, I'm not sure if other things should be removed that are now no longer needed.

Sources

Checklist

r? @tgross35

folkertdev commented 21 hours ago

on CI it's 4:45 ish, still pretty good, and no longer the bottleneck for CI.

tgross35 commented 12 hours ago

Merged in 15 minutes, awesome improvement