Skip to content

Materialize module constants in dev run images#10241

Merged
rtfeldman merged 1 commit into
mainfrom
issue-10219-static-lists
Jul 19, 2026
Merged

Materialize module constants in dev run images#10241
rtfeldman merged 1 commit into
mainfrom
issue-10219-static-lists

Conversation

@rtfeldman

Copy link
Copy Markdown
Contributor

Module-level stored composite values were re-materialized at each use in the default dev pipeline because it omitted internal static-data lowering and the dev run image had no complete readonly-data path. This separates host-provided data exports from internal static values, embeds internal materializations and explicit relocations in dev images, and resolves generated-function pointers against image code symbols so constant access shares one immutable runtime value. Fixes #10219.

@rtfeldman
rtfeldman marked this pull request as ready for review July 19, 2026 18:47
@rtfeldman
rtfeldman merged commit 9e3744a into main Jul 19, 2026
8 of 12 checks passed
@rtfeldman
rtfeldman deleted the issue-10219-static-lists branch July 19, 2026 18:47
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.

Every access to a module-level list constant re-materializes the list

1 participant