From aeae5bc259a215be715b5847a2cc524a03df7278 Mon Sep 17 00:00:00 2001 From: Lucy Date: Sat, 7 Sep 2024 22:34:55 -0400 Subject: [PATCH] AAAAAAAAAAAA --- debug_server/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_server/src/lib.rs b/debug_server/src/lib.rs index 59d73e7..e118e18 100644 --- a/debug_server/src/lib.rs +++ b/debug_server/src/lib.rs @@ -93,7 +93,7 @@ fn enable_debugging(mode: Value, port: Value) { unsafe { *DEBUG_SERVER.get() = Some(server); debug_server_instruction_hook = DebugServerInstructionHook { - debug_server: &mut DEBUG_SERVER + debug_server: &mut *std::ptr::addr_of_mut!(DEBUG_SERVER) }; INSTRUCTION_HOOKS.get_mut().push(Box::new(debug_server_instruction_hook));