Skip to content

Convert cross-compile tests to Go - #3575

Open
peterebden wants to merge 2 commits into
thought-machine:masterfrom
peterebden:convert-cross-compile-test
Open

Convert cross-compile tests to Go#3575
peterebden wants to merge 2 commits into
thought-machine:masterfrom
peterebden:convert-cross-compile-test

Conversation

@peterebden

@peterebden peterebden commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

These are kind of annoying - they require a gcc multilib setup, which I guess I used to have, but currently don't, so plz test //test/... keeps hitting them and failing. (You can of course fix that with --exclude as bootstrap does, but I never think of it).

Just use Go instead, we know we have it and it can cross-compile out of the box. Some minor changes since it can't target linux_x86 - which doesn't specifically matter, but it means the produced binary isn't runnable as the old one used to be, so we have to check its architecture (which I'm also doing in go to avoid needing extra things like file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant