You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The discusion about usize is in #28921 and #29220 (make sure to "Show outdated diff")
TL;DR: We need more motivating examples and maybe some mini-RFC describing the portability aspect to dispel the fears of the libs team.
Thanks @petrochenkov. Both issues are about conversion tousize, which is the opposite direction than specified in this issue. I needed conversion fromusize to u64 in order to use a FFI.
Anyway, I've noticed that there is a trait for usize to size_t, so I can tweak my FFI and use that instead.
There are various
From
implementations for integers, but this one is curiously absent.I thought about making a pull request, but I can't find where the other integer
From
traits are defined.The text was updated successfully, but these errors were encountered: