cross: get error code 53 when cross build target x86_64-pc-windows-gnu
Checklist
- I’ve looked through the issues and pull requests for similar reports
Describe your issue
$ cross -V
cross 0.2.4 (f5b4671 2022-07-29)
[cross] note: Falling back to cargo
on the host.
cargo 1.62.1 (a748cf5a3 2022-06-08)
$ cargo new hi
Created binary (application) hi
package
$ cd hi
$ cargo r
Compiling hi v0.1.0 (/home/dlin/prj/trade/prj/rs/hi)
Finished dev [unoptimized + debuginfo] target(s) in 0.36s
Running target/debug/hi
Hello, world!
$ cross build --release --target x86_64-pc-windows-gnu
$ echo $?
53
What target(s) are you cross-compiling for?
x86_64-pc-windows-gnu
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
cross 0.2.4 (f5b4671 2022-07-29)
Example
cargo new hi
cd hi
cargo r
cross build --release --target x86_64-pc-windows-gnu
echo $?
Additional information / notes
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (13 by maintainers)
docker version
docker info