rust-cross / rust-musl-cross

Docker images for compiling static Rust binaries using musl-cross
MIT License
625 stars 69 forks source link

Rust musl build suddenly crashes on linking binaries #107

Closed SamTV12345 closed 1 year ago

SamTV12345 commented 1 year ago

The following error appears when I start the compilation:

error linking with `armv7-unknown-l.txt

The project builds without a problem in a native environment. Only the docker images suddenly don't work.

messense commented 1 year ago

https://www.baeldung.com/linux/error-too-many-open-files

SamTV12345 commented 1 year ago

Thanks that worked even though I had to run sudo launchctl limit maxfiles 1000000 1000000