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
A failed link or helper compile prints only 'build failed' (seed_compile_binary drops diagnostics); Windows toolchain lookup superseded by #1915 #1914
On win10 (pinned seed nightly-20260926-local-1-2e8defaa18ef, main-era sdk-pin branch), without ~/winenv.sh sourced:
src\main.exe build build\https_fetch.w -o out\tmp\hf.exe with only LLVM_PREFIX set prints error: build failed and nothing else. The cause was the missing WITH_WINDOWS_MSVC_LIBDIR/UCRT/UM library paths (it builds once winenv.sh is sourced), but the compiler never names the link step, the linker, or the missing libraries.
with build :deps compiles that helper through seed_compile_binary (build/seed.w), which reports only deps-asset-https-fetch-helper failed with exit code 1, dropping the workspace's diagnostics.
Without LLVM_PREFIX it says missing Windows LLVM linker metadata (src/runtime/llvm_ld), so a fresh Windows checkout cannot run :deps at all: it needs an LLVM linker to fetch the LLVM SDK.
Expected: the link failure names the linker and its error lines (no silent tool), seed_compile_binary prints the compile diagnostics, and :deps on a fresh Windows host either fetches without compiling a With helper or says which environment it needs.
Reframed by Eric's ruling (2026-09-29): With must not need Visual Studio or the Windows SDK at all — MSVC being installed is irrelevant. The Windows slice of #1915 replaces the WITH_WINDOWS_* / winenv.sh / hard-coded VS2019 path lookup with import libs, CRT startup and headers the SDK carries. The silent-failure half stays here: a failed link or helper compile must print its cause (seed_compile_binary drops the workspace diagnostics; the Windows link said only 'error: build failed').
changed the title [-]Windows: a build without the MSVC/SDK library env fails with only 'error: build failed'; :deps' helper compile hides the diagnostic[/-][+]A failed link or helper compile prints only 'build failed' (seed_compile_binary drops diagnostics); Windows toolchain lookup superseded by #1915[/+]on Sep 29, 2026
macOS: a failed link prints lld's diagnostics or the linker and its exit status (8b6b850, on main).
seed_compile_binary / Workspace.compile: not silent — the with __workspace-compile child inherits stderr, so a failing helper prints its diagnostics above "failed with exit code 1" (verified: a build.w action compiling a broken helper prints type mismatch in binding --> broken.w:2). BuildResult.diagnostics stays empty for the child path; the text reaches the terminal.
Activity
ehartford commentedon Sep 29, 2026
Reframed by Eric's ruling (2026-09-29): With must not need Visual Studio or the Windows SDK at all — MSVC being installed is irrelevant. The Windows slice of #1915 replaces the WITH_WINDOWS_* / winenv.sh / hard-coded VS2019 path lookup with import libs, CRT startup and headers the SDK carries. The silent-failure half stays here: a failed link or helper compile must print its cause (seed_compile_binary drops the workspace diagnostics; the Windows link said only 'error: build failed').
[-]Windows: a build without the MSVC/SDK library env fails with only 'error: build failed'; :deps' helper compile hides the diagnostic[/-][+]A failed link or helper compile prints only 'build failed' (seed_compile_binary drops diagnostics); Windows toolchain lookup superseded by #1915[/+]ehartford commentedon Sep 30, 2026
Status (2026-09-30):
with __workspace-compilechild inherits stderr, so a failing helper prints its diagnostics above "failed with exit code 1" (verified: a build.w action compiling a broken helper printstype mismatch in binding --> broken.w:2). BuildResult.diagnostics stays empty for the child path; the text reaches the terminal.A failed Windows link says why through the same runner as macOS and L…