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
[Bug]: cargo: error: no override and no default toolchain set #11177
Comments
My bad, setting the right CARGO_BUILD_TARGET (
Seems to go further and fail with the rust
Shouldn't
Here's the full output of the
|
Have you installed |
Yes, I did, I was going to get back to this once I made sure everything compiled fine, but it's understandably taking a long while :) TL;DR: 1. I'd have preferred for |
|
I have the similar problem, reported as #11321 |
Problem description
This is an independent followup on #6088 and I'm also aware of #1745.
I'm currently installing home-assistant on an old Nexus 4 phone, following this guide. There's one dependency
maturin
, that breaks because therust
package, toolchain or target(s) do not seem to be properly setup out of the box:Tweaking
CARGO_BUILD_TARGET
accordingly, there's some progress, butcore
is not found as it should:What steps will reproduce the bug?
Get a relatively old android phone or similar arm target with Android, i.e:
Linux localhost 3.4.113-lineageos-ge3e5c40db2e #1 SMP PREEMPT Fri Jun 17 03:59:18 MSK 2022 armv7l Android
Then, install termux's package via
pkg install rust
and try topip install maturin
. So, steps could be:What is the expected behavior?
Ideally, after
pkg install rust
, Rust should have a toolchain/target installed that matches the device's architecture.If that's problematic, at least
rustup
should work to add said architecture triplet (i.earm-linux-androideabi
), therustup
binary doesn't show up currently under.cargo/bin/rustup
, as it should:System information
termux-info:
The text was updated successfully, but these errors were encountered: