-
Notifications
You must be signed in to change notification settings - Fork 70
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
Cleaned up tests by bringing objects under mini_core
into scope
#639
Cleaned up tests by bringing objects under mini_core
into scope
#639
Conversation
535d7e9
to
5686361
Compare
@@ -588,70 +616,43 @@ pub union MaybeUninit<T> { | |||
|
|||
pub mod intrinsics { | |||
#[rustc_intrinsic] |
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.
@antoyo is the #[rustc_nounwind]
annotation needed for functions within the intrinsics
module?
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.
I do not think so.
mini_core
into scopemini_core
into scope
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.
There's a few more stuff to clean up.
Apart from that, it looks good.
Thanks!
5686361
to
40367a9
Compare
40367a9
to
572da5c
Compare
Thanks a lot for your contribution! |
Thank you so much for taking the time to explain me why certain components (annotations, etc) needed to be removed! |
Context
I've cleaned up test files that did not reuse the
mini_core
library in example/mini_core.rs.I've updated example/mini_core.rs to bring in the
Receiver
trait and the implementations ofAdd
,Sub
andMul
for some more types that were required in the tests.Have added
fn fflush
andstdout
tolibc
inmini_core
.Related Issue