New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for stable Rust #1
Comments
That's been stabilized in nightly, and will be stabilized in stable as soon as the next stable release lands.
That's very useful, thanks! Yeah, discussing them here is fine; unfortunately Fuchsia doesn't have a public bug tracker yet, which makes these sorts of things difficult. |
|
Ah, I didn't know that already completed its FCP. Must have missed it in the weekly summary. Yes, For |
Whoops, messed up the name when responding and referred to |
The only blocking issue for compiling this on stable Rust seems to be the dependency
zerocopy
. It requires an unstable feature to provide interpretingRefCell
derivedRef
andRefMut
as byte buffers that is not used here.@joshlf who advertised the library originally in image-rs/image#885 , I suppose this could also be relevant as user experience. There are a few other utils that required additional implementation and might be useful in
zerocopy
in general, if you find them interesting. Since I don't know where else to submit these issues, we can potentially discuss them here, on gitter or any other place? The two methods are:align_to
: Just like[T]::align_to
but safe. Note that a better implementation could requireptr::align_offset
which is not yet stable.canvas/src/buf.rs
Lines 93 to 111 in 0c591e0
prefix_slice
: Just like the single element methods but for a slice layout.canvas/src/buf.rs
Lines 113 to 118 in 0c591e0
The text was updated successfully, but these errors were encountered: