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

Replace internal getEnvironPtr with its equivalent from druntime #10614

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

0xEAB
Copy link
Member

@0xEAB 0xEAB commented Jan 9, 2025

Comment says,

phobos/std/process.d

Lines 131 to 133 in 8c6fca9

// Some of the following should be moved to druntime.
private
{

Turns out, druntime already provides equivalent functionality in core.sys.posix.unistd:
https://github.com/dlang/dmd/blob/9d72ed4249075ccd6edbb4732b9027ebe92d4c0f/druntime/src/core/sys/posix/unistd.d#L2726-L2771

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @0xEAB!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#10614"

@LightBender LightBender merged commit 63fdb28 into dlang:master Jan 9, 2025
8 of 9 checks passed
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.

4 participants