Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 3, 2025

It looks like this was first introduced in #17102 as a replacement for os.path.normpath, but its not actually same thing os.path.normpath does not resolve symlinks.

Apparently resolving symlinks can actually cause crashes on windows in some cases. See #25463.

Fixes: #25463

@sbc100 sbc100 requested a review from kripken October 3, 2025 21:19
It looks like this was first introduced in emscripten-core#17102 as a replacement for
`os.path.normpath`, but its not actually same thing `os.path.normpath`
does not resolve symlinks.

Apparently resolving symlinks can actually cause crashes on windows in
some cases.  See emscripten-core#25463.

Fixes: emscripten-core#25463
@sbc100 sbc100 merged commit b70f2d4 into emscripten-core:main Oct 6, 2025
33 checks passed
@sbc100 sbc100 deleted the no_resolve branch October 6, 2025 18:12
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.

Hitting into compilation issue in windows when emsdk and emcache are in different drives.
2 participants