bytecodealliance / bytecodealliance/wit-bindgen
C++, Rust limitation: Fixed Size List code can't handle non-POD elements
Open
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 286
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 19
Description
Non-POD/Copy elements require a transmute to/from `[MaybeUninit, N]` and plenty of unsafe code to fill or extract the array element-wise.
In C++ you can use a union and placement new for creating the array.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.