3 ms·
You can very easily define one yourself.
by wbl 2mo ago
You can very easily define one yourself.
- kbolino 2mo agoYou can exploit the mechanism described in the article yourself, but it's already changed once in the past and is not part of any compatibility guarantee. As with structs.HostLayout, a blessed structs.NoCopy in the standard library could guarantee that it works forever. I think the bigger issue remains that it doesn't actually do anything in the language (but, then again, neither does structs.HostLayout--yet).