-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add SWIFT_STDLIB_HAS_ENVIRON to remove usage of getenv/environ from stdlib #39599
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
@swift-ci please test |
Build failed |
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.
This is actually a very exciting change for windows - UAP doesn't allow environment, so this is definitely a useful thing.
@@ -63,6 +64,7 @@ static inline char * _Nullable *_swift_stdlib_getEnviron() { | |||
return *_NSGetEnviron(); | |||
} | |||
#endif |
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.
Interesting, I'm not sure why Windows is missing here...
8d72522
to
fc444da
Compare
@swift-ci please test |
Build failed |
@swift-ci please test Linux platform |
@swift-ci please test Windows platform |
Build failed |
@swift-ci please test Linux platform |
preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
|
preset=stdlib_S_standalone_minimal_macho_x86_64,build,test |
Build failed |
e3ce24f
to
b463b14
Compare
@swift-ci please test |
preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
|
Build failed |
Build failed |
b463b14
to
4c18a19
Compare
@swift-ci please test |
preset=stdlib_S_standalone_minimal_macho_x86_64,build,test |
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
1 similar comment
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
6 similar comments
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
@swift-ci please test Windows platform |
@swift-ci please test |
preset=stdlib_S_standalone_minimal_macho_x86_64,build,test |
No description provided.