-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add mini standard library. #2957
base: master
Are you sure you want to change the base?
Conversation
Add a new mini standard library with standard type. This is intended to change and be later replaced with the real standard library. libgrust/ChangeLog: * libministd/lib.rs: New file. Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
Compile time is awful and it lacks a bunch of things. |
Also, we can't even make modules because there is a bug during typechecking with modules. Will open an issue later with a minimized example. |
IIUC, this is mostly some copy/paste adjustment from |
I was wondering what should be the appropriate header. It has mostly been copied from rust standard library with some minor adjustments to make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good to me so far :) we need to discuss how this will be "distributed" within the compiler, and then I think we can merge it and keep adding to it until 14.1
Maybe add the first part of https://github.com/rust-lang/rust/blob/master/COPYRIGHT in the header. Not sure where to put MIT/APACHE text, but there must be similar case in GCC already |
Add a new mini standard library with standard type. This is intended to change and be later replaced with the real standard library.