-
Notifications
You must be signed in to change notification settings - Fork 100
Cargo cross-build is broken #330
Comments
I just can't find out why we're looking for |
It's pulled via
|
Well The |
oh wait, |
Hmmm... Well they SHOULD be, but it looks like even in past lives we've been building our dev dependencies in |
Okay, so I had to disable
and
at which point it gets stuck only on core:
|
Ahh! Got it. This is a problem with our super-target-fragile implementation of moving the This should be documented on the wiki probably. [target.thumbv7m-none-eabi.dependencies.core]
git = "https://github.com/hackndev/rust-libcore"
[target.thumbv7em-none-eabi.dependencies.core]
git = "https://github.com/hackndev/rust-libcore" You'll have to do this: [target.thumbv7em-none-eabi.dependencies.core]
git = "https://github.com/hackndev/rust-libcore"
+
+[target.thumbv6-none-eabi.dependencies.core]
+git = "https://github.com/hackndev/rust-libcore" We should also clone mcoffin/rlibc in to hackndev. It was passed over when we cloned bharrisau/rust-libcore in to the hackndev org. |
This is now documented on the wiki |
Thanks for the tip, now it's only the dev-dependencies thing. |
The problem is really on our side somewhere, the simple project works fine: https://gist.github.com/farcaller/15d1c05f12ccf52390f3 |
Okay, after further experiments I figured it's getting pulled in from volatile cell due to
in main toml. For whatever reason it enables "replayer" feature. |
Got the proper test case. I think it's a cargo bug rather than out misconfiguration, filed rust-lang/cargo#1796 to track it. |
So this is a cargo issue alright. I'm trying to fix cargo, but a notable side effect for us will break all examples, they pull in dev-dependencies by design. This is a good time to break them in dedicated crates I think. |
https://travis-ci.org/hackndev/zinc/builds/70222004
Can someone take a look and maybe have some idea? My only guess is that libcore
build.rs
can't findbuild.sh
due to some paths mixup. No idea why e.g.rustc-serialize
looks for libstd though.The text was updated successfully, but these errors were encountered: