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
std.sync does not compile in a --no-prelude program: its Result matches read the prelude's Ok/Err #2555
A --no-prelude program whose module imports std.sync fails inside std.sync itself (installed compiler v0.15.3.0-g603b5574a; the module is a package module assembled as the STC test lane does, with build --no-prelude -O1 lib/std/stc_testing/algorithm_test.w):
(and the same at 334 and 344). The Result matches in std.sync read the prelude's Ok/Err, which a --no-prelude compilation does not provide, so the stdlib module is unusable from a program compiled that way, which every corpus test lane is (c-algorithms, tommyds, stc). Expected: a stdlib module names what it uses (use std.result or the builtin spelling) and compiles whatever the prelude mode, as std.libc and std.collections do.
Found wiring an atomic failure counter into the STC test harness (test/corpora/stc_harness); the harness uses std.collections' Atomic[i64] instead.
Merged to main ae20d89 (#3249): std.sync and eleven more std modules (alloc, channel, compiler, context, fs, generators, http, io, json, result, string, tls) import what they use; a sweep of every lib/std module under --no-prelude is clean. Fixtures test/phase/no_prelude_std_sync.w and no_prelude_std_modules.w.
Activity
STC corpus (std.stc) and its test lanes: stdlib_sourcing_plan Phase 3…
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): reproduced.post-release:
--no-preludeis a niche mode; qualifying the patterns in std.sync is small.Issues batch B: #2974 (lib-prefixed package names), #2555 (std module…
ehartford commentedon Nov 11, 2026
Merged to main ae20d89 (#3249): std.sync and eleven more std modules (alloc, channel, compiler, context, fs, generators, http, io, json, result, string, tls) import what they use; a sweep of every lib/std module under --no-prelude is clean. Fixtures test/phase/no_prelude_std_sync.w and no_prelude_std_modules.w.