toolchains: Use language-specific terms in UI (#20985)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2024-11-21 15:57:22 +01:00
committed by GitHub
parent 75c545aa1e
commit 0b373d43dc
6 changed files with 76 additions and 9 deletions
+2
View File
@@ -31,6 +31,8 @@ pub trait ToolchainLister: Send + Sync {
worktree_root: PathBuf,
project_env: Option<HashMap<String, String>>,
) -> ToolchainList;
// Returns a term which we should use in UI to refer to a toolchain.
fn term(&self) -> SharedString;
}
#[async_trait(?Send)]