Skip to content

fix: avoid case-insensitive source directory collision - #40

Open
MuNeNiCK wants to merge 1 commit into
argumentcomputer:mainfrom
MuNeNiCK:fix/case-insensitive-source-directory
Open

fix: avoid case-insensitive source directory collision#40
MuNeNiCK wants to merge 1 commit into
argumentcomputer:mainfrom
MuNeNiCK:fix/case-insensitive-source-directory

Conversation

@MuNeNiCK

@MuNeNiCK MuNeNiCK commented Aug 5, 2026

Copy link
Copy Markdown

On case-insensitive filesystems, the Lean module directory Blake3/ and the cloned C source directory blake3/ resolve to the same path. Downstream Lake builds on macOS and Windows can therefore remove or overwrite the Lean sources while materializing the C implementation.

Clone the upstream BLAKE3 sources into blake3-source/ instead. This keeps the existing build and API unchanged while allowing both directories to coexist.

Tested with:

  • lake test
  • a downstream Lean 4.32.2 native matrix on Linux x86_64/ARM64, macOS x86_64/ARM64, and Windows x86_64

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.

1 participant