-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New arm target missing from cargo manifests #2341
Comments
I don't think this is a particularly actionable bug in Cargo itself, it'll just take time for the target to be found on the stable/beta compilers. If you use a nightly compiler to build the target then everything should work just fine. Cargo itself has no knowledge of targets or target triples, so it's just the underlying compiler that needs to be updated here (or perhaps a stale build directory?) |
I was using a bootstrapped compiler - otherwise I wouldn't even have the necessary rlibs to try this. I'm well aware cargo itself doesn't know about targets, etc; when I jokingly wrote about "telling cargo" I meant stuff like this: https://github.com/alexcrichton/ssh2-rs/blob/master/libssh2-sys/Cargo.toml#L37 or these: So I meant you probably had the tools to automatically fix the affected crates. EDIT: |
Oh yeah for those you can just send PRs to update them (or wait for the |
The new
armv7
target hasn't been introduced in the crates ecosystem yet, predictably resulting in errors like this:BTW, @alexcrichton well spotted fixing the
.mk
file - I was going to open a PR myself.I was also wondering if on the last line:
CFG_GNU_TRIPLE_armv7-unknown-linux-gnueabihf := armv7-unknown-linux-gnueabihf
it was really necessary to differentiate from
arm-
?The text was updated successfully, but these errors were encountered: