79611601

Date: 2025-05-08 01:34:07
Score: 2
Natty:
Report link

The sizes of the structs in C and Rust are not the same. Even after turning on C representation, and packed, I was still left with a struct that was at least 195 bytes. In comparison, the same struct in C was only 52 bytes...

So what is needed here is some deserialization wherein one extracts the values seperately and reconstructs the struct in Rust. So, I implemented exactly that.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gjbauer