emscripten-core / emscripten-core/emscripten

Emscripten can't handle case-invariant path on Windows, resulting in cleaning cache

Open
#17,693 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Please include the following in your bug report:

**Version of emscripten/emsdk:**
Microsoft Windows [Version 10.0.19044.1889]
(c) Microsoft Corporation. All rights reserved.

C:\Users\hootf>emcc -v
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.14 (4343cbec72b7db283ea3bda1adc6cb1811ae9a73)
clang version 15.0.0 (https://github.com/llvm/llvm-project 7effcbda49ba32991b8955821b8fdbd4f8f303e2)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: C:\Projects\emsdk\upstream\bin

VSCode CMake extension happen to call Emscripten using lowercase letter of hard drive, any other software calls Emscripten with captial letter of hard drive, since path to EMSDK is used for sanity check this results in Emscripten cache being cleared every time this happens.

![image](https://user-images.githubusercontent.com/16506970/185793589-2278d760-2686-47cd-826e-3d2aa2aa079c.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.