[Pkg-rust-maintainers] Cross compiling using debian tools

Alex King alex at king.net.nz
Fri Nov 30 04:31:01 GMT 2018


|How do I cross compile?|

|$ cargo run --target=i686-unknown-linux-gnu
    Compiling cfg-if v0.1.6
    Compiling lazy_static v1.2.0
error[E0463]: can't find crate for `core`
|
   = note: the `i686-unknown-linux-gnu` target may not be installed

error: aborting due to previous error
....
|

|
|

|The upstream solution is "||rustup target add ..."|

|
|

|How do I do the same using debian packages?|

|
|

|Thanks,
Alex|

|
|

|P.S. using rust/cargo from testing.
|

|
|

||

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20181130/4d2cdfde/attachment.html>


More information about the Pkg-rust-maintainers mailing list