You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use repr packed to avoid padding in the syscall interface
I was hoping to _not_ do this as it might have a perf implication, but:
- Padding is "undefined" so we could end up leaking rust memory (and
causing non-determinism at runtime).
- Requiring that everything be "packed" simplifies the spec.
- In practice, there should be no performance issues (with existing
syscalls). Specifically, we can re-order fields to avoid unaligned
loads.
part of https://github.com/filecoin-project/fvm-specs/issues/63
0 commit comments