From 96babd093948a2f5f62d53cab8f779610e4c757f Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Fri, 27 Jun 2025 22:06:19 +0700 Subject: [PATCH] crazy test --- src/globals/test-extensions.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 01568c94..09fa55f0 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -35,10 +35,11 @@ $test_os = [ $zig = true; // temporary! if ($zig) { - putenv('SPC_LIBC=glibc'); - putenv('SPC_LIBC_VERSION=2.17'); + putenv('SPC_LIBC=musl'); + // putenv('SPC_LIBC_VERSION=2.17'); putenv('CC=zig-cc'); putenv('CXX=zig-c++'); + exec('ulimit -n 2048'); } // whether enable thread safe @@ -57,7 +58,7 @@ $prefer_pre_built = true; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'apcu,ast,bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,libxml,mbregex,mbstring,opcache,openssl,pcntl,phar,posix,readline,session,simplexml,sockets,sodium,tokenizer,xml,xmlreader,xmlwriter,zip,zlib', + 'Linux', 'Darwin' => 'apcu,ast,bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,libxml,mbregex,mbstring,opcache,openssl,pcntl,phar,posix,readline,session,simplexml,sockets,sodium,tokenizer,xml,xmlreader,xmlwriter,zip,zlib,amqp,brotli,bz2,dio,ds,ev,event,ffi,ftp,gd,gettext,gmp,gmssl,igbinary,imagick,inotify,intl,ldap,lz4,memcache,memcached,mongodb,msgpack,mysqli,mysqlnd,odbc,opentelemetry,parallel,pdo,pdo_mysql,pdo_odbc,pdo_pgsql,pdo_sqlite,pdo_sqlsrv,pgsql,protobuf,rar,redis,rdkafka,shmop,spx,sqlite3,sqlsrv,ssh2,swoole,sysvmsg,sysvsem,sysvshm,tidy,uuid,uv,xhprof,xlswriter,xsl,xz,yac,yaml,zstd', 'Windows' => 'intl', };