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[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union
--> /.../debug/build/tflite-b6694d55739fc4de/out/tflite_types.rs:450:13
|
450 | pub _M_val: _Tp,
| ^^^^^^^^^^^^^^^
|
= note:union fields must not have drop side-effects, which is currently enforced via either `Copy` or `ManuallyDrop<...>`
help: wrap the field type in `ManuallyDrop<...>`
|
450 | pub _M_val: std::mem::ManuallyDrop<_Tp>,
| +++++++++++++++++++++++ +
For more information about this error, try `rustc --explain E0740`.
error: could not compile `tflite` (lib) due to 1 previous error
Rust version: 1.75.0
Crate version: 0.9.7
OS: Ubuntu 22.04
I'm happy to provide more details if needed.
The text was updated successfully, but these errors were encountered:
kihehs
changed the title
Compilation failure:
Compilation failure: field must implement Copy or be wrapped in ManuallyDrop<...> to be used in a union
Feb 2, 2024
Unfortunately the crate doesn't compile anymore:
I'm happy to provide more details if needed.
The text was updated successfully, but these errors were encountered: