Skip to content

Conversation

@woshiluo
Copy link
Member

@woshiluo woshiluo commented Nov 18, 2024

This pull request implement the following features or fixes:

  • Use const instead of static to make test run normally.
  • Refactor to avoid deserialize_newtype_struct as much as possible.
  • Refactor to use lead_slice and lead_str instead of create slice manually.

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
@woshiluo woshiluo changed the title Refactor Refactor to minimize newtype struct Nov 18, 2024
Also update example because we do not change fdt binary anymore.

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
@woshiluo woshiluo changed the title Refactor to minimize newtype struct Refactor to minimize newtype struct & unsafe Nov 19, 2024
Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>

fix: fmt

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
@woshiluo woshiluo marked this pull request as ready for review November 19, 2024 18:58
@guttatus guttatus requested a review from luojia65 November 20, 2024 03:06
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.

LGTM

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
@luojia65 luojia65 merged commit 6d152e0 into rustsbi:main Nov 26, 2024
2 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.

2 participants