Add git revision to log

This commit is contained in:
Shawn Wallace 2025-05-28 23:02:02 -04:00
parent ae1759077e
commit de6790934b
4 changed files with 220 additions and 0 deletions

View file

@ -47,6 +47,12 @@ pub trait RunData {
}
pub fn main(data: impl RunData) -> Option<()> {
let mut version = env!("VERGEN_GIT_DESCRIBE");
if version == "VERGEN_IDEMPOTENT_OUTPUT" {
version = env!("CARGO_PKG_VERSION");
}
info!("Starting xwayland-satellite version {version}");
let socket = ListeningSocket::bind_auto("xwls", 1..=128).unwrap();
let mut display = Display::<RealServerState>::new().unwrap();
let dh = display.handle();