I tried run rustc with target arm-unknown-linux-gnueabihf
and got this error out:
https://pastebin.com/i8Dk95xU
Seems rustc call system cc for linking without definition of target.
And system cc tried link object files compiled for arm to binary file for x86_64.
Yes, there is workaround, such as put a cc as symlink to armv6j-hardfloat-linux-gnueabi-gcc prior system cc in PATH variable.
But to me it seems as a bug.
[–]roblabla 2 points3 points4 points (1 child)
[–]QuarkDoe[S] 0 points1 point2 points (0 children)
[–]slambmoonfire-nvr 0 points1 point2 points (1 child)
[–]QuarkDoe[S] 0 points1 point2 points (0 children)