any-pointer icon indicating copy to clipboard operation
any-pointer copied to clipboard

A type erasure library for Zig that is meant to be eventually upstreamed to std

Results 4 any-pointer issues
Sort by recently updated
recently updated
newest added

Quoting @SpexGuy: > casting pointer->int->pointer has a side effect that the optimizer cannot remove: it discards provenance information. You should use *c_void or *const c_void instead as the erased type....

enhancement

Quoting @SpexGuy: > This might not be the goal, but my version had separate types for SinglePointer, ManyPointer, Slice, etc. That allowed me to avoid serializing the pointer part of...

enhancement

This is actually a Zig issue: https://github.com/ziglang/zig/issues/6706

bug

Change `null_pointer` to reflect the actual address of the `null` address

bug