eval_cli: Set global filesystem in eval CLI init (#55862)

Some dependency started requiring this, so fixing some runtime errors.

Release Notes:

- N/A
This commit is contained in:
Ben Brandt 2026-05-06 11:35:43 +02:00 committed by GitHub
parent cc279a46fa
commit 9a679b3226
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,6 +70,7 @@ pub fn init(cx: &mut App) -> Arc<AgentCliAppState> {
git_binary_path,
cx.background_executor().clone(),
));
<dyn fs::Fs>::set_global(fs.clone(), cx);
let mut languages = LanguageRegistry::new(cx.background_executor().clone());
languages.set_language_server_download_dir(paths::languages_dir().clone());