Skip to content

Conversation

@dronenb
Copy link
Contributor

@dronenb dronenb commented Nov 5, 2025

Description

When using promu crossbuild, since bingo is used to manage/build dependencies on the fly within the crossbuild container, which has build target GOOS, GOARCH, GOARM, etc. set, the tool which performs this build (promu) gets built by the Makefile generated by bingo, which can cause promu to not be executable properly within the container, since it gets built with its intended target's GOOS, GOARCH, and GOARM. This change will force bingo to always build the tool for the host architecture.

See:

Copy link
Owner

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant idea and well executed. Thanks!

@bwplotka
Copy link
Owner

bwplotka commented Nov 5, 2025

We might need to fix our tests at this point - we depend on benchstat latest (just any dep to use) and they broke compat with old Go versions.

I explained some ideas how: #162 but won't have time to do this this week (I can help in reviewing!)

Signed-off-by: Ben Dronen <dronenb@users.noreply.github.com>
@bwplotka bwplotka merged commit e3f6186 into bwplotka:main Nov 7, 2025
5 checks passed
@dronenb dronenb deleted the goos branch November 7, 2025 16:22
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.

2 participants