Skip to content

Conversation

@woshiluo
Copy link
Member

  • fix: can not add a new node / prop
  • refactor: serialize and patch

To avoid copy-paste word, we use SerializeMap instead of serialize_newtype_struct.This change required rewrite serialize_dynamic_field function and split it, so we can not use backtracking.

Now it will create a new serailizer for every node or prop, not a ref.

refactor: serialize and patch

To avoid copy-paste word, we use SerializeMap instead of
`serialize_newtype_struct`. This change required rewrite
`serialize_dynamic_field` function and split it, so we can not use
backtracking. Now it will create a new serailizer for every node or
prop.

Signed-off-by: Woshiluo Luo <woshiluo.luo@outlook.com>
@luojia65 luojia65 merged commit eb0e525 into rustsbi:main Mar 30, 2025
2 checks passed
Placebo27 added a commit to rustsbi/bouffaloader that referenced this pull request Mar 31, 2025
Refs: rustsbi/serde-device-tree#15
Signed-off-by: DongQing <placebo27@hust.edu.cn>
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