Skip to content

Fix: When symbol is both imported and exported, don't drop import#26356

Open
hoodmane wants to merge 2 commits intoemscripten-core:mainfrom
hoodmane:fix-syscall-wrapping
Open

Fix: When symbol is both imported and exported, don't drop import#26356
hoodmane wants to merge 2 commits intoemscripten-core:mainfrom
hoodmane:fix-syscall-wrapping

Conversation

@hoodmane
Copy link
Collaborator

@hoodmane hoodmane commented Feb 27, 2026

This fixes wrapping syscalls with -sMAIN_MODULE and -sEXPORT_ALL. Resolves #26355.

This fixes wrapping syscalls with -sMAIN_MODULE and -sEXPORT_ALL. Resolves issue 26355.
@hoodmane hoodmane force-pushed the fix-syscall-wrapping branch from 6ab4594 to 441ec3c Compare February 27, 2026 14:43
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.

Wrapping syscalls doesn't work with -sMAIN_MODULE -sEXPORT_ALL

1 participant