From 834286d6ef8f02e001225faf2b512101c2155df8 Mon Sep 17 00:00:00 2001 From: maciektr Date: Wed, 14 Feb 2024 15:27:44 +0100 Subject: [PATCH] Revert "Update cairo (#1144)" This reverts commit 4c799b50ddeff6040db00b9a3910fbed5780ae46. --- extensions/scarb-cairo-language-server/src/main.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/extensions/scarb-cairo-language-server/src/main.rs b/extensions/scarb-cairo-language-server/src/main.rs index b1b90bc90..8adebad05 100644 --- a/extensions/scarb-cairo-language-server/src/main.rs +++ b/extensions/scarb-cairo-language-server/src/main.rs @@ -1,3 +1,8 @@ -fn main() { - cairo_lang_language_server::start() +use cairo_lang_language_server::serve_language_service; +use cairo_lang_utils::logging::init_logging; + +#[tokio::main] +async fn main() { + init_logging(log::LevelFilter::Warn); + serve_language_service().await; }