<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><code class="highlighter-rouge">How do I cross compile?</code></p>
<p><code class="highlighter-rouge">$ cargo run
--target=i686-unknown-linux-gnu<br>
Compiling cfg-if
v0.1.6 <br>
Compiling lazy_static
v1.2.0 <br>
error[E0463]: can't find crate for
`core` <br>
|
<br>
= note: the `i686-unknown-linux-gnu` target may not be
installed <br>
<br>
error: aborting due to previous error<br>
....<br>
</code></p>
<p><code class="highlighter-rouge"><br>
</code></p>
<p><code class="highlighter-rouge">The upstream solution is "</code><code>rustup
target add ..."</code></p>
<p><code><br>
</code></p>
<p><code>How do I do the same using debian packages?</code></p>
<p><code><br>
</code></p>
<p><code>Thanks,<br>
Alex</code></p>
<p><code><br>
</code></p>
<p><code>P.S. using rust/cargo from testing.<br>
</code></p>
<p><code><br>
</code></p>
<p><code class="highlighter-rouge"></code></p>
</body>
</html>