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
I came across this error while trying to compile some code
error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
--> C:\Users\<username>\.cargo\registry\src\gh.neting.cc-1ecc6299db9ec823\ansi_term-0.12.1\src\lib.rs:252:5
|
252 | use std::intrinsics::size_of;
|
That's strange! I would have to guess that somehow the file got edited. Without a reproduction, I'm not sure there is much we can do here, so I'm going to close this out. However, #9455 is open to change it so that these files won't accidentally get modified. There are other issues like #9691 for validating the contents of the cache (though I'm not sure how feasible that is).
Problem
Hello,
I came across this error while trying to compile some code
But the weird part is if you look at file src\lib.rs:252:5 in ansi_term-0.12.1 github repo (https://github.com/ogham/rust-ansi-term/blob/v0.12.1/src/lib.rs) , that line is not present.
Even upon running
cargo clean
I faced the same error. I had to resolve this by deleting the C:\Users<username>.cargo\ folder and then it worked fine.It happened to me one time and I wasnt able to reproduce this again .
Steps
Complie bevy hello world program.
Possible Solution(s)
No response
Notes
I am not able to reproduce this again after I deleted the .cargo folder. It might be a one off incident , but felt its better to report it here.
rustc details are as follows
Version
The text was updated successfully, but these errors were encountered: