Skip to content

Handle symbolic links in create_entry_points.py - #27453

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:create_entry_points
Jul 30, 2026
Merged

Handle symbolic links in create_entry_points.py#27453
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:create_entry_points

Conversation

@sbc100

@sbc100 sbc100 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

When creating the entry points we need to first delete them, in case they are sym links (which they may be once #27401 lands).

If we don't do this then if the file exists and is a symlink then the open will actually open the target of the symlink for writing, which is not what we want.

When creating the entry points we need to first delete them, in case
they are sym links (which they may be once emscripten-core#27401 lands).
@sbc100
sbc100 requested a review from kripken July 30, 2026 19:22
@sbc100
sbc100 enabled auto-merge (squash) July 30, 2026 20:07
@sbc100
sbc100 merged commit 39a0a85 into emscripten-core:main Jul 30, 2026
41 checks passed
@sbc100
sbc100 deleted the create_entry_points branch July 30, 2026 23:51
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.

2 participants