dlecan / rust-crosscompiler-arm

Docker images for Rust dedicated to cross compilation for ARM v6 and more
MIT License
50 stars 16 forks source link

Docker Hub image is stale #19

Closed dimo414 closed 3 years ago

dimo414 commented 3 years ago

Looking at https://registry.hub.docker.com/r/dlecan/rust-crosscompiler-arm the image appears to be a year or so old. Is it possible for you to build an updated image?

I ask because I'm seeing errors like:

   Compiling openssl-sys v0.9.60
error: unexpected `self` parameter in function
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.1.0/src/net/tcp/stream.rs:624:40
    |
624 |         pub fn try_read_buf<B: BufMut>(&self, buf: &mut B) -> io::Result<usize> {
    |                                        ^^^^^ not valid as function parameter
    |
    = note: `self` is only valid as the first parameter of an associated function

That I'm guessing are due to an older compiler (but cargo --version fails as well, so I'm not actually sure what version of cargo the image is on...)

dlecan commented 3 years ago

Arg, it has been months the Travis CI doesn't upload anything to Docker Hub dues to an authentication error. And I just discover Travis CI for Open Source will be shutdown soon.

I need to work on the automatic publishing :smile:

daggy1234 commented 3 years ago

Hey just a necrobump here! This project is really cool and a great blessing for rpi uses. Any ETA

I made a temporary update here:

https://github.com/users/Daggy1234/packages/container/package/rust-crosscompiler-arm

This is on github package registery untill the official one is updated!

dimo414 commented 3 years ago

FWIW I got cross-compilation working mostly out-of-the-box using cross, which is maintained by the Rust Tools team. Here's my config, I referenced this one.

dlecan commented 3 years ago

'cross' is a much more powerful tool than this. But, if you still need 'rust-crosscompiler-arm', Docker images are back at the Docker Hub: https://hub.docker.com/r/dlecan/rust-crosscompiler-arm

dimo414 commented 3 years ago

Thanks for the update!