Open
Description
Checklist
- I've looked through the issues and pull requests for similar reports
Describe your issue
Linking fails with a very large number of objects on x86_64-pc-windows-msvc.
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 build --release -p mypackage
...
= note: 0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0048:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0048:err:systray:initialize_systray Could not create tray window
0024:err:environ:build_command_line command line too long (38785)
Additional information / notes
I found this issue in rustc: rust-lang/rust#41190, and it makes me wonder if the workaround implemented there is somehow not getting triggered in the cross docker container.
Note: that the msvc docker container was built unmodified from the cross-toolchain image