♻️ refactor(lsp_server): move entrypoints out of named modules

- export Run() from launcher module and add non-module main TU
- apply same pattern to module-based test executables
- migrate utils/string implementation fully into string.cppm and drop string.cpp
- point clangd to linux build compilation database
This commit is contained in:
csh
2025-12-13 19:55:45 +08:00
parent f7d5a74615
commit e5782c76fa
24 changed files with 188 additions and 147 deletions
@@ -15,6 +15,7 @@ if(UNIX AND NOT APPLE)
endif()
set(SOURCES
main.cc
test_async_executor.cppm)
add_executable(${PROJECT_NAME} ${SOURCES})
+6
View File
@@ -0,0 +1,6 @@
import lsp.test.scheduler.async_executor;
int main()
{
return Run();
}
@@ -55,7 +55,7 @@ namespace
};
}
int main()
export int Run()
{
SchedulerTestSuite suite;