Skip to content

Commit

Permalink
AAAAAAAAAAAA
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Sep 8, 2024
1 parent da5f552 commit aeae5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit aeae5bc

Please sign in to comment.