Skip to content

Failing to compile on latest nightly #34

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

Open
vars1ty opened this issue Feb 28, 2025 · 1 comment
Open

Failing to compile on latest nightly #34

vars1ty opened this issue Feb 28, 2025 · 1 comment

Comments

@vars1ty
Copy link

vars1ty commented Feb 28, 2025

Due to this, the crate fails to build on the latest nightly version of Rust.

@stephen-ritter
Copy link

I messed with this a little bit, and it appears the solution is to use inline const expressions as described in the uninit_array docs instead of using the function itself:
https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.uninit_array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants