Open
Description
Checklist
- I've looked through the issues and pull requests for similar reports
Describe your issue
cross build
works like expected. But using cross install
results in:
[cross] warning: unable to get metadata for package
[cross] note: Falling back to `cargo` on the host.
Updating crates.io index
Installing trunk v0.16.0
Compiling libc v0.2.139
[…]
--- stderr
error occurred: Failed to find tool. Is `aarch64-linux-gnu-gcc` installed?
error: failed to compile `trunk v0.16.0`, intermediate artifacts can be found at `/tmp/cargo-installQKUg1O`
It looks like as it install
just isn't supported, so it falls back to running "plain cargo", which of course fails.
However, running cross --help
shows install
too.
What target(s) are you cross-compiling for?
other (specify in description)
Which operating system is the host (e.g computer cross is on) running?
- macOS
- Windows
- Linux / BSD
- other OS (specify in description)
What architecture is the host?
- x86_64 / AMD64
- arm32
- arm64 (including Mac M1)
What container engine is cross using?
- docker
- podman
- other container engine (specify in description)
cross version
0.2.5
Example
cross install trunk --target aarch64-unknown-linux-gnu
Additional information / notes
No response