Skip to content

release: pin all windows imports with #[library]#359

Merged
octalide merged 2 commits into
mainfrom
dev
Jul 3, 2026
Merged

release: pin all windows imports with #[library]#359
octalide merged 2 commits into
mainfrom
dev

Conversation

@octalide

@octalide octalide commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Rolls dev to main: every windows import explicitly pinned (#334/PR #358) — prerequisite for mach#1800's unattributed-import hard link error.

octalide and others added 2 commits July 3, 2026 09:13
every kernel32 import under src/system/os/windows/ and the windows
runtime entrypoint was unattributed, reaching the PE writer as
DYNLIB_ANY and relying on the COFF fallback binding it to dependency 0
(kernel32.dll only when kernel32 sorts first). the first mixed-DLL
consumer breaks that implicit ordering contract, mis-binding a whole
DLL set and yielding STATUS_ENTRYPOINT_NOT_FOUND at load.

pin each ext import with an explicit #[library] decorator naming its
providing DLL, removing the ordering dependency. purely additive:
correctly-ordered links are unchanged.

Closes #334
fix(system/os/windows): pin every ext import to its providing DLL
@octalide octalide merged commit ca870b6 into main Jul 3, 2026
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.

1 participant