Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error[E0658]: unions with non-Copy fields are unstable #410

Closed
ArunGust opened this issue Apr 28, 2021 · 4 comments
Closed

error[E0658]: unions with non-Copy fields are unstable #410

ArunGust opened this issue Apr 28, 2021 · 4 comments
Labels

Comments

@ArunGust
Copy link

Hi Dears,

I got below error,

Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on build directory

Compiling smallvec v1.6.1
Compiling getrandom v0.2.2
Compiling num-traits v0.2.14
error[E0658]: unions with non-Copy fields are unstable
--> C:\Users\devuser.cargo\registry\src\github.jparrowsec.cn-1ecc6299db9ec823\smallvec-1.6.1\src\lib.rs:353:1
|
353 | / union SmallVecData<A: Array> {
354 | | inline: core::mem::ManuallyDrop<MaybeUninit>,
355 | | heap: (*mut A::Item, usize),
356 | | }
| |_^
|
= note: see issue #55149 rust-lang/rust#55149 for more information

Compiling ahash v0.7.2
error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile smallvec

To learn more, run the command again with --verbose.
warning: build failed,

@schungx
Copy link
Collaborator

schungx commented Apr 28, 2021

The minimum version of Rust is 1.49 for this version of Rhai. You need to upgrade Rust.

@ArunGust
Copy link
Author

thanks, will check

@schungx
Copy link
Collaborator

schungx commented May 1, 2021

Is it working for you OK?

@schungx
Copy link
Collaborator

schungx commented May 10, 2021

Closing this for now. Feel free to open another issue if you still have prob.

@schungx schungx closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants