fix(syn): use AST-based bytemuck serialization detection#4215
Conversation
|
@raushan728 is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
afd83b4 to
c88ed57
Compare
|
can you fix the CI? |
I will fix it today. I looked at it yesterday, but I had my college exams going on |
a5d7bc4 to
8b58ebc
Compare
|
@0x4ka5h Thanks for the patience! Could you take a look at the updated approach when you get a chance? |
8b58ebc to
f729e9b
Compare
|
@0x4ka5h I'm a bit confused about the fmt issue. My local nightly rustfmt wants The |
|
For future reference, CI uses the latest nightly version, and this setting changed recently. |
|
@jamie-osec ido-pool failures are just timing/network flakes, can you re-run? |
|
I think we should revert the unqualified matchers i.e. derives must have |
f729e9b to
d8498e9
Compare
Done, restricted to |
|
I'm not sure where |
d8498e9 to
9c6bbe2
Compare
|
Thanks you @jamie-osec to point me I removed |
9c6bbe2 to
cdee96b
Compare
0x4ka5h
left a comment
There was a problem hiding this comment.
cc. @jamie-osec needs second review here
cdee96b to
6e93587
Compare
6e93587 to
088aeca
Compare
088aeca to
599974a
Compare
Replace string-based bytemuck detection with AST parsing. Only
bytemuck::Podsets safe serialization; onlybytemuck::Unsafesets unsafe serialization. Unqualified and non-Pod derives are ignored to prevent false positives from unrelated crates.