You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: override stale cfg sysroot with xcrun SDK for macOS std precompile
The previous fix skipped --sysroot entirely on macOS, but xlings
LLVM's clang++.cfg still applies its own --sysroot pointing to
CommandLineTools SDK. When the active SDK is Xcode (different path),
the cfg's stale sysroot causes _CTYPE_A undeclared errors.
Fix: on macOS, always probe xcrun and pass the active SDK as
--sysroot to OVERRIDE the cfg-baked stale path. This ensures the
std module precompile uses the correct SDK regardless of what was
baked into clang++.cfg at LLVM install time.
0 commit comments