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

Allow unused parameters when building the stdlib #3956

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cramertj
Copy link
Contributor

@cramertj cramertj commented Jun 7, 2024

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

The stdlib build does not support building with -Wextra or -Wunused-parameter since it has unused parameters. This patch removes these flags from the stdlib build.

@cramertj
Copy link
Contributor Author

cramertj commented Jun 7, 2024

CQ failure looks like maybe an infra issue?

go/platform/apple.bzl Outdated Show resolved Hide resolved
Previously, the stdlib would fail to build if the C toolchain enabled
-Werror/-Wextra/-Wunused-parameter since it has unused parameters.

This change removes those flags when building the stdlib.
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