今天在给rust添加musl的target时编译报错
error[E0514]: found crate `core` compiled by an incompatible version of rustc
|
= help: please recompile that crate using this compiler (rustc 1.25.0-nightly (27a046e93 2018-02-18))
= note: the following crate versions were found:
crate `core` compiled by rustc 1.27.0-nightly (ac3c2288f 2018-04-18): /usr/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-c267d6f284101f75.rlib
检查发现rustc的版本和下载的rust-std-musl版本不同
rusc -V
rustc 1.25.0-nightly (27a046e93 2018-02-18)
yaourt -Qi rust-nightly
名字 : rust-nightly
版本 : 4:1.27.0_20180419-1
看了cn源的PKGBUILD貌似没有问题,自己执行makepkg后rustc版本也到了20180418。