Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madhav-madhusoodanan
Copy link

@madhav-madhusoodanan madhav-madhusoodanan commented Feb 26, 2025

Context

  1. I've cleaned up test files that did not reuse the mini_core library in example/mini_core.rs.

  2. I've updated example/mini_core.rs to bring in the Receiver trait and the implementations of Add, Sub and Mul for some more types that were required in the tests.

  3. Have added fn fflush and stdout to libc in mini_core.

Related Issue

loop {}
}
}
extern crate mini_core;

/*
* Code
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also remove this comment.

@madhav-madhusoodanan madhav-madhusoodanan force-pushed the test_update_mini_core branch 3 times, most recently from 507b29f to 535d7e9 Compare February 26, 2025 19:11
@@ -588,70 +616,43 @@ pub union MaybeUninit<T> {

pub mod intrinsics {
#[rustc_intrinsic]
Copy link
Author

@madhav-madhusoodanan madhav-madhusoodanan Feb 26, 2025

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 useful for functions within the intrinsics module?

@madhav-madhusoodanan madhav-madhusoodanan changed the title [WIP] Cleaned up tests by bringing objects under mini_core into scope Cleaned up tests by bringing objects under mini_core into scope Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants