rustc/cargo not properly detecting the host
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
I tried this command:
cargo fetch --verbose --target stable-x86_64-unknown-linux-gnu
I expected to see this happen: explanation
Rust to work properly
Instead, this happened: explanation
error: rustc -vV didn't have a line for host:, got:
rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
commit-date: 2024-10-15
host: x86_64-unknown-linux-gnu
release: 1.82.0
LLVM version: 19.1.1
RUST_BACKTRACE=1 cargo fetch --verbose --target stable-x86_64-unknown-linux-gnu
error: `rustc -vV` didn't have a line for `host:`, got:
For reference, I am trying to compile eza, the ls replacement. If there is any other information that I can provide or other commands that you would like me to run, please, let me know.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing cargo fetch --verbose --target stable-x86_64-unknown-linux-gnu and compare the command's parsing with the shown rustc -vV output. The issue is done when Cargo correctly detects the host from this output and completes the fetch for the reported target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100