ziglang / zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
https://ziglang.org
MIT License
34.75k stars 2.54k forks source link

test coverage for cross compiling C code and running it #2058

Open andrewrk opened 5 years ago

andrewrk commented 5 years ago

Now that we have all these libcs available (See #514), we need test coverage.

The test coverage can be:

andrewrk commented 5 years ago

Rather than an issue that lists all the targets, I'd rather have issues for "Tier 1 support for XYZ", and have "test coverage for libc" be one of the checkboxes.

However, I'll leave this issue open to represent adding a test for building hello_world.c against libc and running it with qemu.

alexrp commented 1 month ago

@andrewrk just checking since this is from 2019: Are we still interested in a C hello world that gets cross-compiled and run with QEMU for each target? Or is our current testing strategy enough?