Skip to content

Fix field_offset! to avoid ptr->int casts

Pre-release
Pre-release
Compare
Choose a tag to compare
@Techcable Techcable released this 31 Jul 23:31
· 24 commits to master since this release
86ea82c
  • Fix field_offset! macro to avoid ptr -> int casts
    • These have been removed in recent nightlies,
      since pointers can't nessicarrily have a meaningful integer values.
    • I beleive this is because of issues with pointer 'provenance'.
      Here is a good blog post explaining the issue in depth: https://www.ralfj.de/blog/2020/12/14/provenance.html