cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.53k stars 365 forks source link

CROSS_REMOTE incompatible with CROSS_CONTAINER_IN_CONTAINER? #1299

Open tyilo opened 1 year ago

tyilo commented 1 year ago

Checklist

Describe your request

I just spend a lot of time getting cross to work in my GitLab instance.

The GitLab runner has /var/run/docker.sock mounted, meaning that I would expect setting CROSS_CONTAINER_IN_CONTAINER=1 to make it work. After this failed I tried setting CROSS_REMOTE=1 but that didn't change the behavior at all.

It was only after unsetting CROSS_CONTAINER_IN_CONTAINER that the CROSS_REMOTE option seemed to take effect.

Describe why this would be a good inclusion for cross

This would have saved me a lot of time with trying to fix my cross build.