Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass gc_goopts to stdlib #3518

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Pass gc_goopts to stdlib #3518

merged 1 commit into from
Apr 4, 2023

Conversation

linzhp
Copy link
Contributor

@linzhp linzhp commented Apr 4, 2023

What type of PR is this?
Bug fix

What does this PR do? Why is it needed?
When //go/config:gc_goopts is provided by user, we should also pass those flags to go install command when we are building stdlib. This PR also ignores the pre-compiled stdlib when go_goopts is provided, assuming the pre-compiled stdlib is compiled without any custom go_goopts.

@linzhp linzhp requested a review from fmeum April 4, 2023 01:31
@linzhp linzhp merged commit 7dd18bf into bazelbuild:master Apr 4, 2023
1 check passed
@linzhp linzhp deleted the gc_goopts branch April 4, 2023 16:52
linzhp added a commit that referenced this pull request Apr 20, 2023
tingilee pushed a commit to tingilee/rules_go that referenced this pull request Jul 19, 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.

None yet

2 participants