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

We need a getenv() that returns ~[u8] #9554

Closed
lilyball opened this issue Sep 27, 2013 · 2 comments
Closed

We need a getenv() that returns ~[u8] #9554

lilyball opened this issue Sep 27, 2013 · 2 comments

Comments

@lilyball
Copy link
Contributor

We need a variant of os::getenv() that returns a ~[u8]instead of astr. Or more usefully,getenv()itself should return[u8]and perhaps we should have agetenv_str()variant that returns~str`.

I think arguments needs the same treatment too.

@huonw
Copy link
Member

huonw commented Sep 27, 2013

Seems to be very similar to #7188, even down to the bug filer. ;P

@huonw huonw closed this as completed Sep 27, 2013
@lilyball
Copy link
Contributor Author

D'oh! I searched for getenv, which unfortunately doesn't show up in that older one.

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

No branches or pull requests

2 participants