kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

commit 972d2c69b2cde627f555c57732534d1452a281f0
parent dddc1f61c90cfd8dce44684c739c6e9242f43a72
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Wed,  3 Jun 2026 11:34:25 -0700

test/coff: fix stale ARM64EC test to use KitTargetSpec (feature-model API)

The obj-api-tables refactor added an ARM64EC detection test written against
the pre-feature-model KitTarget type; rename to KitTargetSpec (which carries
.arch/.obj) to match the current kit_detect_target signature.

Diffstat:
Mtest/coff/kit-roundtrip-coff.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/coff/kit-roundtrip-coff.c b/test/coff/kit-roundtrip-coff.c @@ -1371,7 +1371,7 @@ static void test_detect_arm64ec(void) { * is little-endian {0x41, 0xA6}. */ static const uint8_t arm64ec[] = {0x41, 0xA6, 0x00, 0x00}; static const uint8_t arm64[] = {0x64, 0xAA, 0x00, 0x00}; - KitTarget t; + KitTargetSpec t; EXPECT(kit_detect_fmt(arm64ec, sizeof arm64ec) == KIT_BIN_COFF, "ARM64EC machine not detected as COFF"); memset(&t, 0, sizeof t);