I’m trying to cross compile from OSX to FreeBSD according to this but I get the error message
src/main.rs:1:1: 1:1 error: the crate `std` has been compiled with rustc 1.7.0, which is incompatible with this version of rustc [E0514]
even though all versions used should be 1.7.0 stable.
Since there is no official build for FreeBSD multirust can not download them for me so I copied the prebuilt package from FreeBSD’s ports.
Looking at the rustc -vV output I can see that the rustc on FreeBSD has unknown commit-hash and date, could be the reason for the error message?
If so, how can I build the libraries on FreeBSD in a way that makes it compatible with cross compiling?