You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run cross build, it pulls the missing Rust toolchain and runs the build step in Docker.
If I run cross build --target-dir /some/path, it doesn't and complains about a library missing on my host (which is a dependency of my project).
I don't know why this happens, but it seems like providing --target-dir makes Cargo perform some tasks on the host instead of going directly in the container.
What target(s) are you cross-compiling for?
aarch64-unknown-linux-musl
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
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe your issue
If I run
cross build
, it pulls the missing Rust toolchain and runs the build step in Docker.If I run
cross build --target-dir /some/path
, it doesn't and complains about a library missing on my host (which is a dependency of my project).I don't know why this happens, but it seems like providing
--target-dir
makes Cargo perform some tasks on the host instead of going directly in the container.What target(s) are you cross-compiling for?
aarch64-unknown-linux-musl
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
0.2.5
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: