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

Provide specializations on

Open ikskuh opened this issue 2 years ago • 0 comments

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 the type, so I could deserialize a *u32 as *const u32 or ?u32 without incurring a type violation. This meant extra code to strip attributes and optionals all the way down the type chain when creating type ids, so []?const u32 would be normalized to []*u32 and then I would use the type id of that.

ikskuh avatar Nov 05 '21 17:11 ikskuh