🐛 fix(server): load interpreter funcext symbols

- Wire `--interpreter=...` into server startup.
- Auto-load `<interpreter>/funcext` as a system library via Symbol::LoadSystemLibrary.
This commit is contained in:
csh
2025-12-14 13:08:50 +08:00
parent 7d1db3f3ac
commit 2c9c0b2d8f
2 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export int Run(int argc, char* argv[])
try
{
spdlog::info("TSL-LSP server starting...");
lsp::core::LspServer server(config.thread_count);
lsp::core::LspServer server(config.thread_count, config.interpreter_path);
server.Run();
}
catch (const std::exception& e)