don't deprecate libc usage yet, we don't want people to switch to gcc/clang yet
This commit is contained in:
DubbleClick
2025-07-28 14:51:13 +07:00
parent fb2d676293
commit 3087dc86f8
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ class ToolchainManager
}
$libc = getenv('SPC_LIBC');
if ($libc && !getenv('SPC_TARGET')) {
trigger_error('Setting SPC_LIBC is deprecated, please use SPC_TARGET instead.', E_USER_DEPRECATED);
// trigger_error('Setting SPC_LIBC is deprecated, please use SPC_TARGET instead.', E_USER_DEPRECATED);
return match ($libc) {
'musl' => SystemUtil::isMuslDist() ? GccNativeToolchain::class : MuslToolchain::class,
'glibc' => !SystemUtil::isMuslDist() ? GccNativeToolchain::class : throw new WrongUsageException('SPC_LIBC must be musl for musl dist.'),