Skip to content

Add a canary to imported symbols#40

Merged
WorldSEnder merged 6 commits into
mainfrom
canary
Jun 22, 2026
Merged

Add a canary to imported symbols#40
WorldSEnder merged 6 commits into
mainfrom
canary

Conversation

@WorldSEnder

Copy link
Copy Markdown
Owner

By importing a unique name in the split modules, we get a LinkError when these splits are imported from the incorrect main module (which would most likely lead to downstream problems such as mismatching function signatures).

The canary is enabled only when the module is compiled with debug assertions enabled.

by importing a unique name in the split modules, we get a
LinkError when these splits are imported from the incorrect
main module (which would most likely lead to downstream
problems such as mismatching function signatures).

The canary is enabled only when the module is compiled with
debug assertions enabled.
seems cache does not set executable bit correctly?
@WorldSEnder WorldSEnder changed the title Addd a canary to imported symbols Add a canary to imported symbols Jun 22, 2026
@WorldSEnder WorldSEnder merged commit b66a559 into main Jun 22, 2026
5 checks passed
@WorldSEnder WorldSEnder deleted the canary branch June 22, 2026 15:36
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