lean4-htt/tests/pkg/debug
Mac Malone 9eb249e38c
fix: lake: error on executables with duplicate root module names (#13028)
This PR adds a check that rejects Lake configurations where multiple
executables share the same root module name. Previously, Lake would
silently compile the root module once and link it into all executables,
producing identical binaries regardless of differing `srcDir` settings.

Lake (and Lean) rely on module names being unique within a package.
Rather than attempting to support duplicate module names, Lake now
produces a clear error at configuration load time, for both TOML and
Lean configuration files.

Closes #13013

🤖 Prepared with Claude Code

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 18:10:10 +00:00
..
debug.lean fix: lake: error on executables with duplicate root module names (#13028) 2026-03-23 18:10:10 +00:00
lakefile.toml fix: lake: error on executables with duplicate root module names (#13028) 2026-03-23 18:10:10 +00:00
lean-toolchain chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
release.lean fix: lake: error on executables with duplicate root module names (#13028) 2026-03-23 18:10:10 +00:00
run_test.sh chore: improve how test suite interacts with stages (#12913) 2026-03-16 15:20:03 +00:00