mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 15:54:35 -06:00
Renaming a file whose language is a build system's manifest offered example.toml, example.xml or example.mk, and isMainSourceFile matches the manifest name exactly, so accepting the suggestion left the tree with no manifest and the pane asking for one that had in fact been written. Only CMakeLists.txt was ever suggested. Ask the descriptors which build system reads a language as its manifest -- the inverse of the filename lookup -- and offer that name. CMakeLists.txt is unchanged, and getDefaultMainCMakeFilename goes with the branch that was its only caller. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>