zed: Add --system-specs arg (#27285)

Adds the `--system-specs` flag to the Zed binary, so that users who wish
to report issues can retrieve their system specs, even if Zed is failing
to launch

Still TODO:
- [x] Test and do best effort GPU info detection on Linux
- [ ] Modify GitHub issue templates to tell users that the flag is
available if they are unable to launch Zed

Release Notes:

- Added the `--system-specs` flag to the Zed binary (not the cli!), to
retrieve the system specs we ask for in GitHub issues without needing to
open Zed
This commit is contained in:
Ben Kunkle 2025-03-21 21:56:25 -05:00 committed by GitHub
parent 85a761cb2b
commit c783fd072f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 108 additions and 9 deletions

View file

@ -400,7 +400,6 @@ pub mod scope_map {
*map = Some(map_new.clone());
// note: hash update done here to ensure consistency with scope map
}
eprintln!("Updated log scope settings :: map = {:?}", map_new);
}
}