Cannot compile in Raspberry(arm64)
Closed this issue · 3 comments
cannot compile in Raspberry.
Looks like a dependency issue, but are there anything instead available?
Compiling socket2 v0.4.1
error: attributes are not yet allowed on if
expressions
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.1/src/sys/unix.rs:878:5
|
878 | #[cfg(not(any(target_os = "haiku", target_os = "openbsd")))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I updated rustc to resolve this issue.
Sorry to bother you! I tried to compile in my Raspberry r2s, but I still have some errors. Cloud you please send me an compiled file?
Looking forward to your reply!
Sorry to bother you! I tried to compile in my Raspberry r2s, but I still have some errors. Cloud you please send me an compiled file? Looking forward to your reply!
You can check the version of your rustc and update or re-install from official website / snap . I guess you had installed rustc directly from apt-get which provides an old version. The latest version of rustc can resolve that issue.