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

Fix redox support #4

Merged
merged 1 commit into from
Jul 26, 2019
Merged

Fix redox support #4

merged 1 commit into from
Jul 26, 2019

Conversation

AdminXVII
Copy link
Contributor

Redox now lives in the unix family. Rework the cfgs to account for this.
Also, std::env was not imported for redox.

Redox now lives in the unix family. Rework the cfgs to account for this.
Also, std::env was not imported for redox.
@soc
Copy link
Collaborator

soc commented Jul 12, 2019

Mhh, is this a good idea? Doesn't this mean that Redox' design is pretty much married to POSIX, because fixing or changing anything would break unsuspecting crate authors?

@AdminXVII
Copy link
Contributor Author

The full discussion is at rust-lang/rust#60139. And nothing prevents Redox from implementing the POSIX features as a layer on top of its kernel, or removing functionalities. This is basically a way to reduce duplicate code, since most of redox is already unix-like.

@soc soc merged commit 172ad27 into dirs-dev:master Jul 26, 2019
@soc
Copy link
Collaborator

soc commented Jul 26, 2019

Hi Xavier,
thanks for your PR, I finally found some time to review and understand the changes!
Thanks again,
Simon

@AdminXVII
Copy link
Contributor Author

Great, thanks!

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.

2 participants