Closed
Description
I tried to port heapless
types from GenericArray to usize
const generics.
Here is branch.
Today I managed to compile it in release mode.
For testing you can use: cargo test --release
.
Issues:
- In debug mode compile fails.
Queue
doesn't work. Fails on type inference. I think the problem is in the interaction of default types and const generics.pub struct Consumer<'a, T, U = usize, C = MultiCore, const N: usize>
- I don't know how to set
PowerOfTwo
restriction forindexmap
.
Everything else is pretty good.
rustc 1.37.0-nightly (8aa42ed7c 2019-06-24)
Metadata
Metadata
Assignees
Labels
No labels