-
Notifications
You must be signed in to change notification settings - Fork 88
Feature/const generics #49
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
b699d72
to
9cc3dea
Compare
Looks good to me! |
Looks like we're hitting a bug in the codegen:
|
I think this is the same issue from #48. I'm pretty sure it's a compiler bug and not our fault. Is the bitcast invalid because the source and destination types are the same? |
The source is a vector I think, the destination is an array. |
It looks like arrays don't cast? This doesn't compile at all (https://llvm.godbolt.org/z/4xM1MY):
The equivalent with vectors works just fine. |
Opened rust-lang/rust#80108 to address the error. Going to try to find a workaround :) |
This PR adds a few things:
Quite a bit is going on in this PR, so it might be worth building the docs and reading those first to get a hold of the interface, then moving on to the implementation.