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

fix: implement all rustsbi traits for Option<T> #69

Merged
merged 1 commit into from
May 8, 2024

Conversation

Placebo27
Copy link
Contributor

@Placebo27 Placebo27 commented May 8, 2024

Add Option<T> implementation for console, cppc, hsm, ipi, nacl, pmu, reset, sta, susp, timer traits.
Assist rustsbi dynamic feature. Now we can use the Option<T> type in #[rustsbi(dynamic)] structs, extending the application scope of the rustsbi dynamic function.

Signed-off-by: DongQing <placebo27@hust.edu.cn>
Copy link
Member

@luojia65 luojia65 left a comment

Choose a reason for hiding this comment

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

Nice catch!

@luojia65 luojia65 merged commit 2daec25 into rustsbi:main May 8, 2024
10 checks passed
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.

None yet

2 participants