From 2dd5ef6eaac52d8cb4de2932c0f75dcd2a9afa0e Mon Sep 17 00:00:00 2001 From: Rix Date: Wed, 30 Sep 2026 00:25:45 -0700 Subject: [PATCH] xmake: drop the unreachable plat check in get_binary_dep The enclosing condition already requires plat == "psx", so this branch can never run. --- tools/xmake/xmake.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/xmake/xmake.lua b/tools/xmake/xmake.lua index aa518ec6..f4bea2e6 100644 --- a/tools/xmake/xmake.lua +++ b/tools/xmake/xmake.lua @@ -44,9 +44,6 @@ local function get_binary_dep(target) "target can only have one binary dependency, found '" .. binary:name() .. "' and '" .. dep_target:name() .. "'" end - if dep_target:get("plat") ~= "psx" then - return nil, "target dependency '" .. dep_target:name() .. "' must be a psx target" - end binary = dep_target end else