Creates a heap-allocated global pointer to the given value and returns its raw address.
The pointer will not be automatically deallocated (leaked intentionally).
Converts a raw pointer to a Box<T> and immediately drops it, effectively
deallocating the memory. This is unsafe as it assumes the pointer is valid
and properly aligned. Use with caution to avoid undefined behavior.