mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-01 07:33:12 +08:00
- `scriptc build --static` (and the `staticLink` compile option) links glibc executables as static PIE on the build host's own glibc target; musl executables are already static and accept the flag. - An executable that keeps glibc's NSS module loader (host, user and group name lookups) is refused with SC3002, since a static glibc executable loads those modules from the run host. - Other targets, cross-compiled glibc targets, --sanitize and non-executable output are refused; static and dynamic builds use separate cache entries.