diff --git a/libs/tls/src/lib.rs b/libs/tls/src/lib.rs index 357aa3708..b7c3c26d2 100644 --- a/libs/tls/src/lib.rs +++ b/libs/tls/src/lib.rs @@ -301,7 +301,7 @@ impl Tls { /// /// * A Vec containing the TLS chain of trust offered by the host /// * Error if the communication with the host fails - pub fn probe(&self, host: &str) -> Result, Error> { + pub fn probe(&self, host: &str) -> Result>, Error> { log::info!("starting TLS probe"); match host.to_owned().try_into() { Ok(server_name) => { diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index 7668b8fd5..4f5e385c9 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -132,6 +132,7 @@ fn main() -> ! { // Some operating systems and GUI frameworks don't allow creating an event // loop from a thread other than TID 1. Let the backend claim this thread // if this may be the case. + #[allow(unreachable_code)] backend::claim_main_thread(move |main_thread_token| { #[cfg(not(feature = "ditherpunk"))] wrapped_main(main_thread_token);