void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

cross compiling with cargo is broken

Open jnbr opened this issue 8 years ago • 2 comments

Cross compiling packages with build style cargo fails. Example: cbindgen

I haven't found the root of the problem yet but it can be fixed by reverting cargo-0.31.0 to 0.30.0.

jnbr avatar Nov 01 '18 02:11 jnbr

Here's the call of the failing command compared to the succeeding one with cargo-0.30. It looks like .cargo/config isn't read while installing.

https://gist.github.com/c5a543d7e3a4ba2246d03df50ae0c3d1

Gottox avatar Nov 01 '18 08:11 Gottox

https://github.com/rust-lang/cargo/issues/5850

jnbr avatar Nov 02 '18 01:11 jnbr