-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LS: Move all LS startup logic to its library main function
This change gives the LS crate exclusive control on its running environment and behaviours, like Tokio runtime or logging. commit-id:548527aa
- Loading branch information
Showing
5 changed files
with
8 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
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; | ||
fn main() { | ||
cairo_lang_language_server::start() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters