try to test with zig?

This commit is contained in:
DubbleClick
2025-07-01 16:21:57 +07:00
parent 55fd7ba8e6
commit 408b3b4060
3 changed files with 12 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ class ToolchainManager
public static function getToolchainClass(): string
{
$libc = getenv('SPC_LIBC');
if ($libc !== false && !getenv('SPC_TARGET')) {
if ($libc && !getenv('SPC_TARGET')) {
// TODO: @crazywhalecc this breaks tests
// logger()->warning('SPC_LIBC is deprecated, please use SPC_TARGET instead.');
return match ($libc) {