Skip to content

MacOS: cannot build with -B gobuildid #5321

Closed Answered by caarlos0
andig asked this question in Q&A
Discussion options

You must be logged in to vote

From the docs:

# Overrides allows to override some fields for specific targets.
# This can be specially useful when using CGO.
# Note: it'll only match if the full target matches.

It won't override if only the GOOS is set. You'll need to set goarch as well

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caarlos0
Comment options

Answer selected by caarlos0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants