-
-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Feature/mingw coreutils #43710
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
Feature/mingw coreutils #43710
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ | |
|
|
||
| assert aclSupport -> acl != null; | ||
| assert selinuxSupport -> libselinux != null && libsepol != null; | ||
| assert hostPlatform.libc != "msvcrt"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would make more sense to avoid the assertion and just do
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fair point. |
||
|
|
||
| with lib; | ||
|
|
||
|
|
||
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.
I still think this one is in error? It means cc-wrapper won't use coreutils, which seems wrong.
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.
No. this is right. It should not use coreutils on windows. We don't have them on windows.
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.
But that means you won't use them on Linux when you are making windows binaries. Use
hostPlatformto turn it just when compiling on Windows (for any target).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.
hmm... I'll try
hostPlatform, let's see. My issue was that it tried to buld coreutils for windows when cross compiling windows stuff on linux.