在为ARM交叉编译Rust项目时,无法找到`std`的箱子

时间:2016-01-14 15:40:28

标签: rust cross-compiling

我非常谨慎地关注steps in the instructions,但当我尝试使用its script交叉编译我的货物项目时, 编译项目的依赖项时出错:

Compiling libc v0.2.4                                                                                                                   
/root/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.4/src/lib.rs:1:1: 1:1 error: can't find crate for `std` [E0463]             
/root/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.4/src/lib.rs:1 // Copyright 2012-2015 The Rust Project Developers. See the C
OPYRIGHT                                                                                                                                   
                                                                              ^                                                            
error: aborting due to previous error                                                                                                      
Could not compile `libc`.               

0 个答案:

没有答案