Remove wezterm fork from dependencie (#8998)

Improves build time by removing wezterm dependency
([#8604](https://github.com/zed-industries/zed/issues/8604)).

Release Notes:

- N/A
This commit is contained in:
dalton-oliveira 2024-03-12 16:27:40 -03:00 committed by GitHub
parent e7289c385d
commit 41d8ba12ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 183 additions and 110 deletions

View file

@ -3,7 +3,7 @@ use human_bytes::human_bytes;
use release_channel::{AppVersion, ReleaseChannel};
use serde::Serialize;
use std::{env, fmt::Display};
use sysinfo::{RefreshKind, System, SystemExt};
use sysinfo::{MemoryRefreshKind, RefreshKind, System};
#[derive(Clone, Debug, Serialize)]
pub struct SystemSpecs {
@ -20,7 +20,9 @@ impl SystemSpecs {
let app_version = AppVersion::global(cx).to_string();
let release_channel = ReleaseChannel::global(cx).display_name();
let os_name = cx.app_metadata().os_name;
let system = System::new_with_specifics(RefreshKind::new().with_memory());
let system = System::new_with_specifics(
RefreshKind::new().with_memory(MemoryRefreshKind::everything()),
);
let memory = system.total_memory();
let architecture = env::consts::ARCH;
let os_version = cx