Skip to content

Commit e0102f4

Browse files
committed
[chore] updating execution_variables mutability
Signed-off-by: danbugs <[email protected]>
1 parent 2289795 commit e0102f4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hyperlight_host/src/hypervisor/hypervisor_handler.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,7 @@ impl HypervisorHandler {
280280
self.execution_variables.run_cancelled.store(false);
281281

282282
let to_handler_rx = self.communication_channels.to_handler_rx.clone();
283-
#[cfg(target_os = "windows")]
284-
let execution_variables = self.execution_variables.clone();
285-
#[cfg(target_os = "linux")]
286283
let mut execution_variables = self.execution_variables.clone();
287-
// ^^^ this needs to be mut on linux to set_thread_id
288284
let from_handler_tx = self.communication_channels.from_handler_tx.clone();
289285
let mut hv_handler_clone = self.clone();
290286

0 commit comments

Comments
 (0)