3 Commits

Author SHA1 Message Date
Dave Rolsky
9a022034a6
Add comment to remind myself why we need cross for Linux i586/i686 targets 2025-02-16 11:15:45 -06:00
Dave Rolsky
c40b27b8f9
Add a force-use-cross input 2025-02-16 11:15:19 -06:00
Dave Rolsky
52839d91bd
Fix bug where we would try to use cross on ARM hosts for all targets
If the target is ARM and the host is ARM, this should work with just `cargo`. I'm not sure if this
works for all ARM host/target combos, or if the CPU architecture must be an exact match.

But it doesn't really matter too much, since at least for now there's no ARM builds for
`cross` (https://github.com/cross-rs/cross/issues/1612). So even if cross-compilation doesn't work
natively, we couldn't use `cross` in this case either.

I also rewrote the `set-cross-compile.sh` in Python. By "I", I mean I had Claude do it and then I
tweaked it.
2025-01-20 20:47:52 -06:00