You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[cxxbridge]: unsupported element type of Vec
┌─ src/main.rs:17:19
│
17 │ fn foo(x: Vec<[u64; 3]>);
│ ^^^^^^^^^^^^^ unsupported element type of Vec
It seems like cxx rejects
Vec<[u64; 3]>
as a supported type, thoughVec<T>
and[T; N]
are both supported individually.Steps to reproduce:
Produces the following error:
Referenced from this SA question:
https://stackoverflow.com/questions/78616935/binding-rust-vect-n-to-c-using-cxx?noredirect=1#comment138602956_78616935
The text was updated successfully, but these errors were encountered: