Skip to content
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

Define and enforce MSRV #1

Closed
kvark opened this issue Oct 31, 2020 · 1 comment
Closed

Define and enforce MSRV #1

kvark opened this issue Oct 31, 2020 · 1 comment

Comments

@kvark
Copy link
Contributor

kvark commented Oct 31, 2020

Looks like the crate depends on fairly fresh compiler features:

error[E0277]: arrays only have std trait implementations for lengths 0..=32
--> /Users/dmalyshau/.cargo/git/checkouts/gpu-alloc-b89b27c43ff2846f/0bdf9ea/gpu-alloc/src/usage.rs:51:5
|
51 | usages: [MemoryForOneUsage; 64],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait std::array::LengthAtMost32 is not implemented for [usage::MemoryForOneUsage; 64]
|
= note: required because of the requirements on the impl of std::fmt::Debug for [usage::MemoryForOneUsage; 64]
= note: required because of the requirements on the impl of std::fmt::Debug for &[usage::MemoryForOneUsage; 64]
= note: required for the cast to the object type dyn std::fmt::Debug
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info

@zakarumych
Copy link
Owner

MSRV is 1.40
And 1.46 for gpu-alloc-erupt

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