@alignCast
@alignCast
@alignCast(comptime alignment: u29, ptr: anytype) anytype
ptr can be *T, fn(), ?*T, ?fn(), or []T. It returns the same type as ptr except with the alignment adjusted to the new value.
A pointer alignment safety check is added to the generated code to make sure the pointer is aligned as promised.
