From da6bc6bdbf50da0eeeb4b544395c1b392d228d21 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Tue, 24 Nov 2026 19:20:10 -0700 Subject: switch to Send mutices; make the i3 protocol work that was a lot of painful debugging, but not much code in the end Force-Push: yes Change-Id: Ib38842ac3dafb4ab71ee041d0425accee1e9f067 --- src/facility/envsys.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/facility/envsys.rs') diff --git a/src/facility/envsys.rs b/src/facility/envsys.rs index 0f5582b..cb2f004 100644 --- a/src/facility/envsys.rs +++ b/src/facility/envsys.rs @@ -6,6 +6,7 @@ use std::any::Any; use std::ffi::c_void; use std::slice::from_raw_parts; +use async_executor::StaticExecutor; use async_fs::File; use futures_lite::future; use rustix::ioctl::{ ioctl, Opcode, Getter }; @@ -42,7 +43,7 @@ impl Facility for EnvSys { impl CreatableFacility for EnvSys { const FACILITY_TYPE: FacilityType = FacilityType::ENVSYS; - async fn new() -> Result { + async fn new(_executor: &StaticExecutor) -> Result { let sysmon = File::open("/dev/sysmon").await?; let dictionary = get_dictionary(&sysmon).await?; -- cgit 1.4.1