-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Draft: Add Redox scheme #88
Conversation
Thanks for the PR! I'm hesitant to include this in camino because this isn't in Rust upstream yet -- camino tracks stable Rust's |
I personally don't know the full history of this problem, but I know it's a long story between the Redox team and the Rust team, with the Rust team showing some intent to solve the problem, but no action taken. |
Wouldn't this break software that compiles against the Given that the discussion in rust-lang/rust#52331 appears to have trended away from the option here, it would seem that just gating this on How about also gating this on a particular Alternatively, does the forked version of Rust have any other reliable |
If software uses the enum that was changed on Redox, it will get invalid data before this change and may require adaptation after this change (only on Redox). I'd prefer modifying some software than having it compile but break. |
Any software that has been compiled for Redox will not be broken by this, as compiling for Redox uses our Prefix definition. The only software that will be broken will meet all these characteristics:
So, breaking that build test is probably a good thing, as it is not an accurate reflection of support for Redox. I will discuss adding a feature guard with Jeremy and get his thoughts. |
Jeremy says that there is no software that is built with Let me know if you are ok with that. Thanks for your help. |
In the meantime I will take on trying to fix the upstream issue in a satisfactory way. If y'all would like to wait on that, it would be fine. |
Agree with this.
Accepting that software in the present will not be broken by this, I'm actually worried about things breaking in the future. For example, let's say that upstream Rust accepts a change like Having a As I proposed, another alternative is that the Redox fork of rustc always sets a |
Jeremy is thinking that we don't want to add a |
Got it, thanks! I hope I'm not being too much of a bother here, I'm just concerned about the long-term impact of this change. |
A thing that occurred to me is that you can maintain your own fork, |
Thanks for your help on this. We will have to revisit it after the new year. Jeremy would still like to get Rust |
Hi, we have decided that we are fighting a losing battle trying to get the world to adopt URI as a valid path format in a non-network context. We have changed the path format on Redox to be compatible with Linux format paths, so we are dropping this PR. Camino should work on Redox with no alteration. |
Understood, thanks! |
Allow Redox Scheme. This is a Path Prefix type that is supported by Redox's fork of
std::path
, but not yet in Rust's main.You can see it here.