-
Notifications
You must be signed in to change notification settings - Fork 8
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
Standard library portability #8
Comments
I think this is two related but distinct topics:
They are both important, but I’m not sure that Cargo needs to be involved at all in either. So maybe this repository is not the best place to discuss them? |
Very likely. There are a few reasons why I bring it up:
I just wanted to keep the big picture in mind as we move forward. |
[For my vision at least :)] The most important thing to do is get the official rustc build system to leverage Should we have a ticket for the rustc build system using this? Beyond the benefits I mention, we want to make sure this feature is good enough for that before stabilization. If it can't work for that, we probably messed something up! |
What do you mean by “this” feature? This thread is about a rather wide (pair of) topic(s) with a number of different proposals, not a single specific feature. (Perhaps you meant this comment for another thread?) |
Sorry by "this feature" I meant std-aware Cargo as a whole. |
Ok, so this thread is not quite the place for that topic. Regardless, rustc’s build system is quite special since there are multiple stages of bootstrapping, it’s not clear that Cargo will (or should) know how to do deal with that. |
This issue is for discussing different needs for making the standard library more portable and configurable.
There have been a number of proposals over the years for improving the portability of the standard library, and improving the organization and use of platform-specific APIs.
Some people also desire ways to change the behavior of the standard library, such as through using Cargo features to choose alternate implementations or additions (see #4).
Portability and configurability are two loosely related concepts that perhaps should be considered separately. However, they may have the same or related ways to approach, so I am combining them here.
This issue is a place to explore this rather large problem space. Perhaps initially it would be best to clearly articulate the needs for making it more portable, configurable, and also how libraries declare what they are compatible with. Perhaps listing some concrete use cases, existing problems and pain points, etc.
For those interested in different historical concepts for standard library portability:
The text was updated successfully, but these errors were encountered: