-
Notifications
You must be signed in to change notification settings - Fork 435
Disable static stdlib linking. #533
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
Conversation
By removing ` -Xswiftc -static-stdlib`. Seems like these cause some issues these days; let's see if our users can confirm that removing this flag helps.
|
Worked out for me 👍 |
glbrntt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Complete nit: can you use the commit template?
Done. How about adding this as a GitHub PR template instead of a commit template? |
|
Possibly; can we get the PR description as the commit message when we merge it in? |
Good question. I think if there's a single commit, GitHub populates the PR description with the commit message by default. No idea if that changes when there is a PR template, however. OTOH it seems like GitHub's "edit file" feature does not respect our current commit description template. |
|
That's right. I believe it appends the commit message to the template. I'm fine with having a PR template alongside the commit tempalte; it will be useful for new/infrequent contributors. I think we should enforce the commit message when the change is large or non-trivial though. |
|
I'll take a look at using this branch today to confirm that this works in our docker container. |
|
Yep, working for our docker container! |
Disable static stdlib linking for our protoc plugins.
Motivation:
Seems like these cause some issues these days; let's see if our users can confirm that removing this flag helps.
Modifications:
Remove the
-Xswiftc -static-stdlibcompiler flags.Result:
The plugins will build correctly with both Swift 5 and Swift 5.1.