Skip to content

Be flexible regarding executable extensions. NFC#25960

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:find_exe
Dec 17, 2025
Merged

Be flexible regarding executable extensions. NFC#25960
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:find_exe

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Dec 15, 2025

In particular, on windows, when looking for llvm / binaryen / emscripten entry points allow them to end with the normal set of executable extensions.

This allows folks use, for example, a clang.bat wrapper around clang and also allows us to start using emcc.exe over emcc.bat at some point. See #24858

The old exe_suffix helper still exists but is now moved to the test framework.

sbc100 added a commit that referenced this pull request Dec 16, 2025
This used to be .bat file but no longer after #24907

Split out from #25960
In particular, on windows, when looking for llvm / binaryen / emscripten
entry points allow them to end with the normal set of executable
extensions.

This allows folks use, for example, a clang.bat wrapper around clang
and also allows us to start using `emcc.exe` over `emcc.bat` at some
point.  See emscripten-core#24858
@sbc100
Copy link
Copy Markdown
Collaborator Author

sbc100 commented Dec 17, 2025

ptal

@sbc100 sbc100 merged commit b457c30 into emscripten-core:main Dec 17, 2025
35 checks passed
@sbc100 sbc100 deleted the find_exe branch December 17, 2025 00:36
inolen pushed a commit to inolen/emscripten that referenced this pull request Feb 13, 2026
inolen pushed a commit to inolen/emscripten that referenced this pull request Feb 13, 2026
In particular, on windows, when looking for llvm / binaryen / emscripten
entry points allow them to end with the normal set of executable
extensions.

This allows folks use, for example, a clang.bat wrapper around clang and
also allows us to start using `emcc.exe` over `emcc.bat` at some point.
See emscripten-core#24858

The old `exe_suffix` helper still exists but is now moved to the test
framework.
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.

3 participants