Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "src/main.rs"
lithe-java-domain = { path = "../crates/java-domain" }
# SDK source is pinned to the Viva baseline's exact Core commit. SDK 0.4.0
# has no release tag yet; sdk.lock.json and Cargo.lock must name the same commit.
lithe-plugin-sdk = { git = "https://github.com/Lithe-IDEA/Lithe-core-rust", rev = "65cf82343c5e315aae2e335b2e8f0217b703e89a" }
lithe-plugin-sdk = { git = "https://github.com/Lithe-IDEA/Lithe-core-rust", rev = "a1a792a5a3b2284720d3209b7a9c93394c365c18" }
serde_json.workspace = true
base64 = "0.22.1"
zip.workspace = true
Expand All @@ -26,6 +26,10 @@ sha2.workspace = true
java-properties = "2.0.0"
xmltree = { version = "0.12.0", features = ["attribute-order"] }
jsonc-parser = { version = "0.34.0", features = ["cst", "serde"] }

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = ["Win32_Storage_FileSystem", "Win32_System_WindowsProgramming"] }

[target.'cfg(unix)'.dependencies]
libc = "0.2"

Expand Down
5 changes: 5 additions & 0 deletions backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pub mod project_settings;
pub mod run;
pub mod settings_session;
pub mod settings_view;
pub mod toolchain_provider;
pub mod web_facet;

use crate::launch::LAUNCH_FUNCTION_ID;
Expand Down Expand Up @@ -298,6 +299,10 @@ pub fn backend() -> Result<Backend, SdkError> {
move |params, context| settings_view::view_function(&view_session, params, context),
)?;
backend.suppress_success_diagnostics(settings_view::SETTINGS_VIEW_FUNCTION_ID)?;
backend.toolchain_provider(
toolchain_provider::PROVIDER_ID,
toolchain_provider::query_installations,
)?;
Ok(backend)
}

Expand Down
Loading
Loading