Skip to content

Conversation

dismantl
Copy link
Contributor

I don't have any CGO-dependent packages to test this out on, but at least on pure Go code this works.

@@ -23,6 +23,12 @@ RUN \

WORKDIR /

# Install garble for obfuscated builds
RUN \
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks for this PR! Could you move this go install to toolchain/bootstrap_pure.sh, probably next to the line: echo "Bootstrapping is no longer needed for go 1.20+" is best. As garble states that go1.20 is required, this means that garble only is installed for go1.20+ You may also wish to add some conditional in xgo.go so that the flags are only accepted for the specific go versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, I can do that

@dismantl dismantl requested a review from techknowlogick April 25, 2023 18:31
Copy link
Owner

@techknowlogick techknowlogick left a comment

Choose a reason for hiding this comment

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

That's great! Thanks again :)

@techknowlogick techknowlogick merged commit e65295a into techknowlogick:main Apr 26, 2023
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