-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Refactor the standard library into a crate of crates #11828
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
Comments
This will probably require some clever thought about how to deal with failure and other task-local services in the lowest-level crates, since these are plattform-specific concepts. |
liblibc This sounds like a fantastic to me. A "compilation profile" would sound to me like a subset of crates instead of littering |
I have a patch that factors a few primitive things out of std. |
Closing in favor of #13851 |
…jonas-schievink fix visibility token validation in trait impl with proc-macro fix rust-lang#11828
Fix typo Fix a little spelling error. changelog: none
It is very desirable for std to be maximally portable to a variety of enviroments, and I am slightly worried that if we don't focus on making it well-factored now, before 1.0, that portability will be hampered later.
Sub-dividing std into crates to isolate platform-dependent parts will establish clear dependencies within the library. We can preserve std's interface by reexporting.
I can imagine at least the following subdivision:
The text was updated successfully, but these errors were encountered: