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
{{ message }}
Repository navigation
Zero dependencies on every platform: the SDK carries link stubs, CRT, builtins, libc++ and headers (no Xcode/CLT, no MSVC/Windows SDK, no system glibc/libgcc) #1915
Ruling (Eric, 2026-09-29): "I want zero dependencies in all platforms … except our own SDK and system calls." Build time reads only our SDK (.deps, pinned by sdk.lock, #1913); run time depends only on what the OS ships at the system-call boundary: macOS libSystem, the Linux kernel, Windows in-box DLLs (kernel32/ntdll/ucrtbase — not vcruntime140, a redistributable).
Visual Studio CRT (msvcrt/vcruntime/libcmt/libcpmt, legacy_stdio_definitions, oldnames), Windows Kits import libs and headers (WITH_WINDOWS_*, winenv.sh)
Linux: glibc abilists → generated stub libc.so.6/libm/libpthread/libdl/ld-linux for a pinned minimum glibc; crt1/crti/crtn built from glibc csu sources; compiler-rt builtins replace libgcc; crtbegin/crtend from compiler-rt; headers per target.
The compiler's own link: LLVM libc++/libc++abi (+ libunwind on Linux) built static into each SDK; the LLVM/Clang archives are built against it.
Each slice lands with a proof: the release UAT and the battery on a host with no Xcode/CLT (a clean macOS user), no build-essential/gcc (a minimal Linux container), no Visual Studio (a clean Windows VM).
Order: macOS first (release host, #1826), then Windows (#1914), then Linux. Open questions go to Eric per slice (e.g. the minimum glibc version to target; with-get ConanCenter MSVC packages that reference vcruntime symbols).
History (git log -S): the Windows dependency arrived on day one of the Windows bootstrap — 30e1047 (2026-06-04) and b13b9b0 (2026-06-07) hard-coded Windows Kits 10.0.19041 and VS2019 BuildTools 14.29 paths into Link.w and the compiler link, with no ruling; #708 (07-24) and #867 (08-19) built on it (WITH_WINDOWS_*, xwin-splatted MSVC libs for cross). macOS's Apple-SDK link came with c416b0c (05-26), Linux's system crt/gcc objects with e6bb79f (05-27). None was asked for (Eric, 2026-09-29: "somehow, Visual Studio and Windows SDK have been SNUCK in by agents in the interim without asking me").
Added to this campaign so it cannot recur: a :no-host-toolchain gate (in :gate and the battery) that fails when any compile or link the build runs names a path outside our SDK (.deps), the repo, or out/ — no C:/Program Files*, /Library/Developer, /Applications/Xcode.app, /usr/lib/gcc, /usr/lib/x86_64-linux-gnu. A new external dependency then turns the battery red instead of arriving silently.
Evidence at main 745403b (2026-11-25): :no-host-toolchain is green on every platform, including the one that was missing.
platform
where
result
windows-x86_64
win10 VM, pinned seed
survey: all targets green. 12 link records read; hi.with, cimport_stdio.with and windows_dll_project "built and ran with no Visual Studio or Windows SDK". (The blocker from the last triage, #2637, is closed.)
darwin-aarch64
this Mac
green: SDK cmake and ninja run from the compiler's cache; cc_hello.c through with cc, hi.with, cimport_stdio.with and framework_project built and ran with no host toolchain. Separately: with SDKROOT unset, with run of a program that imports stdio.h and with cc of a C file both work.
Also since the last triage: on Linux, C built through with cc now stays at the glibc floor (#3604); before that a source-built library could need a newer glibc than the machine had.
What the done-when still asks for and I have not shown
The proof is worded as "the release UAT and the battery on a host with no Xcode/CLT, no build-essential, no Visual Studio". The lane hides or empties the host toolchain (a sandbox on macOS and Linux, a stripped environment on Windows); it is not a machine that never had one.
On Windows the lane covers three With programs. It does not run with cc on a C file or the SDK's cmake and ninja, which the macOS and Linux lanes do.
Whether the compiler's own build on macOS runs with no Command Line Tools installed: I always build with SDKROOT pointed at them and did not test without.
Activity
ehartford commentedon Sep 29, 2026
History (git log -S): the Windows dependency arrived on day one of the Windows bootstrap — 30e1047 (2026-06-04) and b13b9b0 (2026-06-07) hard-coded Windows Kits 10.0.19041 and VS2019 BuildTools 14.29 paths into Link.w and the compiler link, with no ruling; #708 (07-24) and #867 (08-19) built on it (WITH_WINDOWS_*, xwin-splatted MSVC libs for cross). macOS's Apple-SDK link came with c416b0c (05-26), Linux's system crt/gcc objects with e6bb79f (05-27). None was asked for (Eric, 2026-09-29: "somehow, Visual Studio and Windows SDK have been SNUCK in by agents in the interim without asking me").
Added to this campaign so it cannot recur: a
:no-host-toolchaingate (in :gate and the battery) that fails when any compile or link the build runs names a path outside our SDK (.deps), the repo, or out/ — no C:/Program Files*, /Library/Developer, /Applications/Xcode.app, /usr/lib/gcc, /usr/lib/x86_64-linux-gnu. A new external dependency then turns the battery red instead of arriving silently.Spec v7.15 (D81): C standard library headers come from the sysroot th…
package-management: the compiler carries cmake and ninja (D81); a non…
SDK: the Windows C runtime, compiler-rt builtins and libc++ built fro…
runtime: define __chkstk and _fltused, and stop importing Visual Stud…
Windows programs link and c_import the SDK's libc only (#1915)
c_import: three mingw-w64 header shapes that failed a whole windows.h…
Windows programs link the SDK's uuid.lib (#1915)
SDK: the Windows SDK's LLVM is a windows-gnu build against its own li…
SDK: windows-gnu CMake builds drop Visual Studio's default libraries …
docs: what the Windows SDK's libc and C++ runtime are, where they com…
SDK: try_compile projects inherit the emptied standard-library lists (#…
SDK: the import libraries the SDK's own cmake needs; llvm-windres rea…
SDK: the whole windows-gnu SDK chain builds on the Windows VM (#1915)
ClangBridge: no explicit Unit on with_cimport_set_windows_target (#1915)
86 remaining items
ehartford commentedon Oct 25, 2026
Triage 2026-10-25: the separate finding noted above is filed as #2637.
with get: the facade parses C as c_import does, so a Windows package'…
build: the release carries every target's engine bundles, so a cross …
wip: build.w C objects compile with the compiler's own cc (#1915, #809)
build: a darwin sysroot stub names only what macOS exports (#2530) (#…
build graph: a C object compiles with the compiler's own cc (#1915, #809
build graph: a C object compiles with the compiler's own cc (#1915, #809
Windows: the #809 selfhost and migrator targets run green, on nothing…
An enum of values is a value (#2549); x86_64 Windows long double is w…
emitc selfbuild (#2819)
build graph: the dead host-tool descriptors are gone (#623) (#2824)
release matrix v0.16.0.3: with cc searches the host's headers after t…
ehartford commentedon Nov 25, 2026
Evidence at main 745403b (2026-11-25):
:no-host-toolchainis green on every platform, including the one that was missing.survey: all targets green. 12 link records read;hi.with,cimport_stdio.withandwindows_dll_project"built and ran with no Visual Studio or Windows SDK". (The blocker from the last triage, #2637, is closed.)cc_hello.cthroughwith cc,hi.with,cimport_stdio.withandframework_projectbuilt and ran with no host toolchain. Separately: withSDKROOTunset,with runof a program that importsstdio.handwith ccof a C file both work.Also since the last triage: on Linux, C built through
with ccnow stays at the glibc floor (#3604); before that a source-built library could need a newer glibc than the machine had.What the done-when still asks for and I have not shown
with ccon a C file or the SDK's cmake and ninja, which the macOS and Linux lanes do.SDKROOTpointed at them and did not test without.Those three are the remaining work here.