Skip to content

Issues batch B: #2974 (lib-prefixed package names), #2555 (std modules under --no-prelude) - #3249

Merged
ehartford merged 3 commits into
issues-afrom
issues-b
Nov 11, 2026
Merged

ehartford merged 3 commits into
issues-afrom
issues-b

Conversation

@ehartford

@ehartford ehartford commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2974 and #2555 (std.sync and eleven more std modules name what they use; a phase fixture imports them all under --no-prelude).

Battery: GREEN on the stack top 0855fa8 (out/battery/battery.log: rc=0 green; uat 12 pass, 1 skip by platforms:), one battery for stack #3253, run after rebasing onto main b7a01bd.

Eric Hartford added 3 commits November 11, 2026 01:27
Conan Center's search matches whole names, so `with get c.curl` found
nothing and said only "could not resolve package curl/". The name is
searched as a part of one, and when the name with or without C's `lib`
prefix is a recipe the refusal says so: "the package is `libcurl`:
`with get c.libcurl`".
…ort it

Its Result matches read the prelude's Ok/Err ("variant pattern requires
an enum subject" at <embedded-std>/std/sync.w). Evidence:
test/phase/no_prelude_std_sync.w fails on the installed compiler.
A sweep of lib/std under --no-prelude found the class in eleven more
modules (alloc, channel, compiler, context, fs, generators, http, io,
json, result, string, tls): each read the prelude's Result, Option, List
or traits. Each imports them now; std.sys loses two redundant `unsafe`
prefixes the sweep's warnings named. Evidence:
test/phase/no_prelude_std_modules.w.
@ehartford
ehartford added this pull request to stack #3253 November 11, 2026 09:43
@ehartford ehartford changed the title issues b Issues batch B: #2974 (lib-prefixed package names), #2555 (std modules under --no-prelude) Nov 11, 2026
@ehartford
ehartford marked this pull request as ready for review November 11, 2026 09:44
@ehartford
ehartford merged commit e0d93d0 into main Nov 11, 2026
@ehartford
ehartford deleted the issues-b branch November 11, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

with get: an unresolved package whose lib-prefixed name exists on Conan Center should say so (c.curl → c.libcurl)

1 participant